summaryrefslogtreecommitdiff
path: root/test/spec_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec_tests.py')
-rwxr-xr-xtest/spec_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/spec_tests.py b/test/spec_tests.py
index 394d1a2..22af15f 100755
--- a/test/spec_tests.py
+++ b/test/spec_tests.py
@@ -32,7 +32,8 @@ if __name__ == "__main__":
default=False, help='filter stdin through normalizer for testing')
args = parser.parse_args(sys.argv[1:])
-cmark = CMark(prog=args.program, library_dir=args.library_dir)
+if not args.dump_tests:
+ cmark = CMark(prog=args.program, library_dir=args.library_dir)
# Normalization code, adapted from
# https://github.com/karlcow/markdown-testsuite/