From a4033df6f4cc1d7b268aa4cc9a4f75ee84e7b4ea Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 29 Nov 2014 21:36:57 -0800 Subject: spec_tests.py: if dump_args, don't try to load dynamic library. --- test/spec_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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/ -- cgit v1.2.3