From 2eb4239c8bf6058b2e4760a4a5bd96c16d8d2869 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 19 Nov 2014 14:42:29 -0800 Subject: Renamed --test-normalization to --debug-normalization --- runtests.py | 4 ++-- 1 file 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) -- cgit v1.2.3