hwsim tests: Print failed tests nicer
There's no reason to format the failed tests as a python list, just print a (space-separated) list of test names. Signed-hostap: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
dcd25d4c3b
commit
a572f0b960
1 changed files with 2 additions and 2 deletions
|
@ -372,9 +372,9 @@ def main():
|
|||
if len(failed):
|
||||
logger.info("passed {} test case(s)".format(len(passed)))
|
||||
logger.info("skipped {} test case(s)".format(len(skipped)))
|
||||
logger.info("failed tests: " + str(failed))
|
||||
logger.info("failed tests: " + ' '.join(failed))
|
||||
if args.loglevel == logging.WARNING:
|
||||
print "failed tests: " + str(failed)
|
||||
print "failed tests: " + ' '.join(failed)
|
||||
sys.exit(1)
|
||||
logger.info("passed all {} test case(s)".format(len(passed)))
|
||||
if len(skipped):
|
||||
|
|
Loading…
Reference in a new issue