summaryrefslogtreecommitdiff
path: root/test/pathological_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pathological_tests.py')
-rw-r--r--test/pathological_tests.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/test/pathological_tests.py b/test/pathological_tests.py
index e96c333..b52f593 100644
--- a/test/pathological_tests.py
+++ b/test/pathological_tests.py
@@ -9,13 +9,12 @@ import multiprocessing
import time
from cmark import CMark
-if __name__ == "__main__":
- parser = argparse.ArgumentParser(description='Run cmark tests.')
- parser.add_argument('--program', dest='program', nargs='?', default=None,
- help='program to test')
- parser.add_argument('--library-dir', dest='library_dir', nargs='?',
- default=None, help='directory containing dynamic library')
- args = parser.parse_args(sys.argv[1:])
+parser = argparse.ArgumentParser(description='Run cmark tests.')
+parser.add_argument('--program', dest='program', nargs='?', default=None,
+ help='program to test')
+parser.add_argument('--library-dir', dest='library_dir', nargs='?',
+ default=None, help='directory containing dynamic library')
+args = parser.parse_args(sys.argv[1:])
allowed_failures = {"many references": True}