aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-11-19 14:42:29 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-11-19 14:42:29 -0800
commit2eb4239c8bf6058b2e4760a4a5bd96c16d8d2869 (patch)
tree0ff27e8d0a1af31baf95343ff0663493b4688666
parentd55a0d9a1a731a443614d9f50fea9c488cbad79a (diff)
Renamed --test-normalization to --debug-normalization
-rwxr-xr-xruntests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtests.py b/runtests.py
index 2cc00d1..8fb1557 100755
--- a/runtests.py
+++ b/runtests.py
@@ -22,7 +22,7 @@ if __name__ == "__main__":
default=None, help='limit to sections matching regex pattern')
parser.add_argument('--library-dir', dest='library_dir', nargs='?',
default=None, help='directory containing dynamic library')
- parser.add_argument('--test-normalization', dest='test_normalization',
+ parser.add_argument('--debug-normalization', dest='debug_normalization',
action='store_const', const=True,
default=False, help='filter stdin through normalizer for testing')
args = parser.parse_args(sys.argv[1:])
@@ -265,7 +265,7 @@ def do_tests(specfile, prog, pattern):
return (failed == 0 and errored == 0)
if __name__ == "__main__":
- if args.test_normalization:
+ if args.debug_normalization:
print normalize(sys.stdin.read())
elif do_tests(args.spec, args.program, args.pattern):
exit(0)