diff options
author | Helmut Grohne <helmut@subdivi.de> | 2011-06-02 13:24:46 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2011-06-02 13:24:46 +0200 |
commit | ea4994aea1b10040920cc54736299fb5c218f151 (patch) | |
tree | 3cb973ddbab0f8d54d70f21cecc27d409677dab6 /test.py | |
parent | fbfd3ddce24a9f86838f64753d8654ddf6c31d81 (diff) | |
download | wsgitools-ea4994aea1b10040920cc54736299fb5c218f151.tar.gz |
test.py: exit non-zero on failure
The exit status is now the number of failures.
Diffstat (limited to 'test.py')
-rwxr-xr-x | test.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -265,4 +265,4 @@ if __name__ == "__main__": prof.runcall(runner.run, fullsuite) prof.dump_stats("wsgitools.pstat") else: - runner.run(fullsuite) + sys.exit(len(runner.run(fullsuite).failures)) |