mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
unit_test.py: Allow identifying a unit test which has : in the name
This commit is contained in:
parent
0978fc1b84
commit
9fa87f04da
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user