From 58b99aec77ba25d4662ee263ce39578a33f69740 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 28 Sep 2016 23:48:02 +0200 Subject: [PATCH] vty_test_runner.py: make unittest print all output by default Add option to TextTestRunner that shows print output on stdout. It's better to see everything in our jenkins runs and not hide test output. Change-Id: If4be1ad1c81c9ed4ab9b208b4c6d1e4b2cc8fdd5 --- openbsc/tests/vty_test_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbsc/tests/vty_test_runner.py b/openbsc/tests/vty_test_runner.py index 5bb27a8a..8dc4f709 100644 --- a/openbsc/tests/vty_test_runner.py +++ b/openbsc/tests/vty_test_runner.py @@ -1357,7 +1357,7 @@ if __name__ == '__main__': add_nat_test(suite, workdir) add_gbproxy_test(suite, workdir) add_sgsn_test(suite, workdir) - res = unittest.TextTestRunner(verbosity=verbose_level).run(suite) + res = unittest.TextTestRunner(verbosity=verbose_level, stream=sys.stdout).run(suite) sys.exit(len(res.errors) + len(res.failures)) # vim: set shiftwidth=4 expandtab nocin ai