- Commit
- a4033df6f4cc1d7b268aa4cc9a4f75ee84e7b4ea
- Parent
- 3643c9c36b35bdd2b5da963ac3d05ef0e2cbf7e7
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
spec_tests.py: if dump_args, don't try to load dynamic library.
My personal build of CMark ✏️
spec_tests.py: if dump_args, don't try to load dynamic library.
1 file changed, 2 insertions, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | test/spec_tests.py | 3 | 2 | 1 |
diff --git 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/