diff --git a/Tools/autotest/autotest.py b/Tools/autotest/autotest.py index 7e3067ef95..7c7b7e6054 100755 --- a/Tools/autotest/autotest.py +++ b/Tools/autotest/autotest.py @@ -176,7 +176,7 @@ signal.alarm(opts.timeout) def skip_step(step): '''see if a step should be skipped''' for skip in skipsteps: - if fnmatch.fnmatch(step, skip): + if fnmatch.fnmatch(step.lower(), skip.lower()): return True return False @@ -367,6 +367,15 @@ if lck is None: atexit.register(util.pexpect_close_all) +if len(args) > 0: + # allow a wildcard list of steps + matched = [] + for a in args: + for s in steps: + if fnmatch.fnmatch(s.lower(), a.lower()): + matched.append(s) + steps = matched + try: if not run_tests(steps): sys.exit(1)