From 009e0dcbf3cf3c325596e885dd0224031330dad7 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 27 Nov 2014 13:22:52 -0800 Subject: spec_tests.py: return success status on --dump-tests. --- spec_tests.py | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3