From: Victor Julien Date: Thu, 18 Jan 2018 17:55:38 +0000 (+0100) Subject: runner: rename --dir to --testdir X-Git-Tag: suricata-6.0.4~514 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=113de3064f17a0fdd3909de856cee3245fc206bf;p=thirdparty%2Fsuricata-verify.git runner: rename --dir to --testdir --- 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 = []