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:
parent
aba82097b6
commit
0a45c1e77d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue