Skip to content
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.

Commit

Permalink
added verbose option to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vmora committed Jan 30, 2017
1 parent 8aadb87 commit 254fc37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 254fc37

Please sign in to comment.