[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] New succinct test output reported errors as successes
commit 6837752b4c5d7f74bef8be0bca8c8fc7f6f3e8f7
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Sun Jan 5 21:50:40 2014 -0800
New succinct test output reported errors as successes
We reported failures as failures but didn't interpret errors as failures as
well.
---
run_tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/run_tests.py b/run_tests.py
index 5450dea..f28ab8e 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -449,7 +449,7 @@ def _run_test(args, test_class, output_filters, logging_buffer):
if args.verbose:
sys.stdout.write(test.output.apply_filters(test_results.getvalue(), *output_filters))
println()
- elif not run_result.failures:
+ elif not run_result.failures and not run_result.errors:
println(" success (%0.2fs)" % (time.time() - start_time), SUCCESS)
else:
println(" failed (%0.2fs)" % (time.time() - start_time), ERROR)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits