aboutsummaryrefslogtreecommitdiffstats
path: root/testrunner.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-03-29 14:18:55 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-03-29 20:01:52 +0000
commitbcd3c7c5876c33c23562fa23191b0ef2ed06d585 (patch)
tree3189c30fe778d7e1153d796ee0d0cf46d8a34b00 /testrunner.py
parent19b9da7bed9416f323793e9c1c7326b483b3d57f (diff)
testrunner.py: Add default value for blacklist
Saves some typing and makes COIN integration easier. Change-Id: Ic7b302157dd5b53388ccc7b89f70db5635bb3ba8 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'testrunner.py')
-rw-r--r--testrunner.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/testrunner.py b/testrunner.py
index 381f19a7..96d9139a 100644
--- a/testrunner.py
+++ b/testrunner.py
@@ -700,8 +700,10 @@ if __name__ == '__main__':
# create the parser for the "test" command
parser_test = subparsers.add_parser("test")
group = parser_test.add_mutually_exclusive_group(required=False)
+ blacklist_default = os.path.join(script_dir, 'build_history', 'blacklist.txt')
group.add_argument("--blacklist", "-b", type=argparse.FileType('r'),
- help="a Qt blacklist file")
+ default=blacklist_default,
+ help='a Qt blacklist file (default: {})'.format(blacklist_default))
group.add_argument("--learn", "-l", type=create_read_write,
help="add new entries to a blacklist file")
parser_test.add_argument("--skip", action='store_true',