Tests/EndToEndTests/TestDriver.py: print sku for each test

This commit is contained in:
Mark Hillebrand 2016-03-23 16:38:26 +01:00
Родитель 99a12a5d3b
Коммит fb495e3ba1
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -613,7 +613,7 @@ def runCommand(args):
# forcing verbose mode (showing all output) for all test which are based on exit code (no pattern-based test cases)
args.verbose = True
# Printing the test which is about to run (without terminating the line)
sys.stdout.write("Running test {0} ({1} {2}) - ".format(test.fullName, flavor, device));
sys.stdout.write("Running test {0} ({1} {2} {3}) - ".format(test.fullName, build_sku, flavor, device));
if args.dry_run:
print ("[SKIPPED] (dry-run)")
# in verbose mode, terminate the line, since there will be a lot of output
@ -625,7 +625,7 @@ def runCommand(args):
if args.verbose:
# writing the test name one more time (after possibly long verbose output)
sys.stdout.write("Test finished {0} ({1} {2}) - ".format(test.fullName, flavor, device));
sys.stdout.write("Test finished {0} ({1} {2} {3}) - ".format(test.fullName, build_sku, flavor, device));
if result.succeeded:
succeededCount = succeededCount + 1
# in no-verbose mode this will be printed in the same line as 'Running test...'