From a572f0b960fedf20adb5d926df29893f48316f27 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Mon, 11 Nov 2013 17:19:33 +0100 Subject: [PATCH] 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 --- tests/hwsim/run-tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hwsim/run-tests.py b/tests/hwsim/run-tests.py index 83009f1a0..697fd6f5a 100755 --- a/tests/hwsim/run-tests.py +++ b/tests/hwsim/run-tests.py @@ -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):