aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-28 23:48:02 +0200
committerHarald Welte <laforge@gnumonks.org>2016-09-30 12:42:20 +0000
commit0a45c1e77d293005d1b2f80ae801a843cbefe971 (patch)
tree7731552e8a6a094c6af0a20d173d4ccb1c65a20e
parentaba82097b6e042d6ae3728ca2daf045242d8479a (diff)
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
-rw-r--r--openbsc/tests/vty_test_runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/tests/vty_test_runner.py b/openbsc/tests/vty_test_runner.py
index 5bb27a8ad..8dc4f7091 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