diff options
| -rwxr-xr-x | pyjutest | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -4,6 +4,8 @@ # # pyjutest - junit xml generator +from __future__ import print_function + from junit_xml import TestSuite, TestCase from pickle import dump, load from subprocess import Popen, PIPE, STDOUT @@ -42,3 +44,10 @@ with open('pyjutest.dat', 'wb') as dat: with open('pyjutest.xml', 'w') as xml: TestSuite.to_file(xml, tss, prettyprint=True) + +print("%s STDOUT:" % sys.argv[1]) +for l in out.decode().split("\n"): + print(l) +print("%s STDERR:" % sys.argv[1]) +for l in err.decode().split("\n"): + print(l, file=sys.stderr) |
