aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/servo/testing_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 10e79bf1aa0..b4c045d4a70 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -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: