diff --git a/test.py b/test.py index 94eaacd..76bd3d7 100755 --- a/test.py +++ b/test.py @@ -37,6 +37,8 @@ out, err = child.communicate() if child.returncode: sys.stdout.write("failed\n") + if len(sys.argv) == 2 and sys.argv[1] == '-v': + sys.stdout.write(err) failed += 1 else: sys.stdout.write("ok\n")