mach: Don't bail out early when unable to find the right suite for a test

This commit is contained in:
Aravind Gollakota 2016-07-17 19:27:08 -07:00
parent e7a55ae55e
commit 1fc05dd7e6

View file

@ -354,7 +354,7 @@ class MachCommands(CommandBase):
all_handled = True
for test_path in requested_paths:
suite = self.suite_for_path(test_path)
if correct_suite != suite:
if suite is not None and correct_suite != suite:
all_handled = False
print("Warning: %s is not a %s test. Delegating to test-%s." % (test_path, correct_suite, suite))
if all_handled: