Skip to content

Commit 422f8a6

Browse files
committed
Add suite/test ID to Starting test and Running suite messages
Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 0d62a02 commit 422f8a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

9pm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def run_test(args, test):
163163

164164
name = test['name']
165165
path = os.path.relpath(test['case'], ROOT_PATH)
166-
print(f"\n{pcolor.blue}Starting test {name} ({path}){pcolor.reset}")
166+
print(f"\n{pcolor.blue}Starting test {test['uniq_id']} {name} ({path}){pcolor.reset}")
167167

168168
if test['result'] == "skip":
169169
print(f"{pcolor.yellow}Skip test {name} (suite skip){pcolor.reset}")
@@ -614,7 +614,7 @@ def run_suite(args, data, skip_suite):
614614
err = False
615615

616616
if data['name'] != "command-line":
617-
print(pcolor.blue + f"\nRunning suite {data['name']}" + pcolor.reset)
617+
print(pcolor.blue + f"\nRunning suite {data['uniq_id']} {data['name']}" + pcolor.reset)
618618

619619
for test in data['suite']:
620620
if 'suite' in test:

0 commit comments

Comments
 (0)