| 1610 | |
| 1611 | |
| 1612 | def ArgsToTestPaths(test_root, args, suites): |
| 1613 | if len(args) == 0 or 'default' in args: |
| 1614 | def_suites = [s for s in suites if s not in IGNORED_SUITES] |
| 1615 | args = [a for a in args if a != 'default'] + def_suites |
| 1616 | subsystem_regex = re.compile(r'^[a-zA-Z0-9-]*$') |
| 1617 | check = lambda arg: subsystem_regex.match(arg) and (arg not in suites) |
| 1618 | mapped_args = ["*/test*-%s-*" % arg if check(arg) else arg for arg in args] |
| 1619 | paths = [SplitPath(NormalizePath(a)) for a in mapped_args] |
| 1620 | return paths |
| 1621 | |
| 1622 | |
| 1623 | def get_env_type(vm, options_type, context): |