diff options
author | William Deegan <bill@baddogconsulting.com> | 2021-11-01 12:05:34 -0700 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2021-11-01 12:05:34 -0700 |
commit | c90a47623fefb3787b737c014df7392fe325795b (patch) | |
tree | 517d0c287e28fc73a32958d55184ebe8381199ce | |
parent | 506850e230c6d9346fbad25f5957e4cbc3c09040 (diff) | |
download | scons-git-c90a47623fefb3787b737c014df7392fe325795b.tar.gz |
fix --no-ignore-skips
-rwxr-xr-x | runtest.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/runtest.py b/runtest.py index 79dce485f..741b2562d 100755 --- a/runtest.py +++ b/runtest.py @@ -110,9 +110,9 @@ parser.add_argument('--no-faillog', dest='error_log', default='failed_tests.log', help="Do not log failed tests to a file") -parser.add_argument('--no-ignore-skips', dest='ignore_skips', - action='store_false', - default=True, +parser.add_argument('--no-ignore-skips', dest='dont_ignore_skips', + action='store_true', + default=False, help="If any tests are skipped, exit status 2") outctl = parser.add_argument_group(description='Output control options:') @@ -858,9 +858,10 @@ if args.output: if isinstance(sys.stderr, Tee): sys.stderr.file.close() +import pdb; pdb.set_trace() if fail: sys.exit(1) -elif no_result and args.ignore_skips: +elif no_result and args.dont_ignore_skips: # if no fails, but skips were found sys.exit(2) else: |