- Commit
- 009e0dcbf3cf3c325596e885dd0224031330dad7
- Parent
- b80cfc2198a5c76cd14cbca5ad98392be15c600b
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
spec_tests.py: return success status on --dump-tests.
My personal build of CMark ✏️
spec_tests.py: return success status on --dump-tests.
1 file changed, 1 insertion, 0 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | spec_tests.py | 1 | 1 | 0 |
diff --git 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)