From 9fa87f04da6971ee6b9b90d71591706e9f5ac05b Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Wed, 11 Dec 2019 16:32:17 +1100 Subject: [PATCH] unit_test.py: Allow identifying a unit test which has : in the name --- tools/unit-test-app/unit_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/unit-test-app/unit_test.py b/tools/unit-test-app/unit_test.py index 8f4c91c42e..c4820fffdf 100755 --- a/tools/unit-test-app/unit_test.py +++ b/tools/unit-test-app/unit_test.py @@ -763,7 +763,7 @@ if __name__ == '__main__': for test_item in test_args: if len(test_item) == 0: continue - pair = test_item.split(r':') + pair = test_item.split(r':', 1) if len(pair) == 1 or pair[0] is 'name': test_dict['name'] = pair[0] elif len(pair) == 2: