diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-27 13:22:52 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-27 13:22:52 -0800 |
commit | 009e0dcbf3cf3c325596e885dd0224031330dad7 (patch) | |
tree | f6f98bc30c94ada87a3375d3616579c3b8172153 | |
parent | b80cfc2198a5c76cd14cbca5ad98392be15c600b (diff) |
spec_tests.py: return success status on --dump-tests.
-rwxr-xr-x | spec_tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec_tests.py b/spec_tests.py index 5d04818..da3f550 100755 --- a/spec_tests.py +++ b/spec_tests.py @@ -293,6 +293,7 @@ def do_tests(specfile, prog, pattern, normalize, dump_tests): if dump_tests: print json.dumps(tests_json, ensure_ascii=False, indent=2) + return True else: print "%d passed, %d failed, %d errored" % (passed, failed, errored) return (failed == 0 and errored == 0) |