diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-29 21:36:57 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-29 21:36:57 -0800 |
commit | a4033df6f4cc1d7b268aa4cc9a4f75ee84e7b4ea (patch) | |
tree | 8cc99d70df89a9502d496ae64524ea54332d1204 | |
parent | 3643c9c36b35bdd2b5da963ac3d05ef0e2cbf7e7 (diff) |
spec_tests.py: if dump_args, don't try to load dynamic library.
-rwxr-xr-x | test/spec_tests.py | 3 |
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/ |