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
This commit is contained in:
Neels Hofmeyr 2016-09-28 23:48:02 +02:00 committed by Harald Welte
parent 3a1fb210f2
commit 58b99aec77
1 changed files with 1 additions and 1 deletions

View File

@ -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