From 113de3064f17a0fdd3909de856cee3245fc206bf Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 18 Jan 2018 18:55:38 +0100 Subject: [PATCH] runner: rename --dir to --testdir --- run.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run.py b/run.py index ff8e8828a..7aa222064 100755 --- a/run.py +++ b/run.py @@ -508,7 +508,7 @@ def main(): help="Force running of skipped tests") parser.add_argument("--fail", action="store_true", help="Exit on test failure") - parser.add_argument("--dir", action="store", + parser.add_argument("--testdir", action="store", help="Runs tests from custom directory") parser.add_argument("--outdir", action="store", help="Outputs to custom directory") @@ -534,8 +534,8 @@ def main(): suricata_config = SuricataConfig(get_suricata_version()) tdir = os.path.join(TOPDIR, "tests") - if args.dir: - tdir = os.path.abspath(args.dir) + if args.testdir: + tdir = os.path.abspath(args.testdir) # First gather the tests so we can run them in alphabetic order. tests = [] -- 2.47.2