Index: tools/test.py |
=================================================================== |
--- tools/test.py (revision 7276) |
+++ tools/test.py (working copy) |
@@ -614,7 +614,7 @@ |
def AddTestsToList(self, result, current_path, path, context, mode): |
for v in VARIANT_FLAGS: |
- tests = self.GetConfiguration(context).ListTests(current_path, path, mode) |
+ tests = self.GetConfiguration(context).ListTests(current_path, path, mode, v) |
for t in tests: t.variant_flags = v |
result += tests |
@@ -637,7 +637,7 @@ |
result += test.GetBuildRequirements(rest, context) |
return result |
- def ListTests(self, current_path, path, context, mode): |
+ def ListTests(self, current_path, path, context, mode, variant_flags): |
(name, rest) = CarCdr(path) |
result = [ ] |
for test in self.tests: |
@@ -1419,7 +1419,7 @@ |
'simulator': options.simulator, |
'crankshaft': options.crankshaft |
} |
- test_list = root.ListTests([], path, context, mode) |
+ test_list = root.ListTests([], path, context, mode, []) |
unclassified_tests += test_list |
(cases, unused_rules, all_outcomes) = config.ClassifyTests(test_list, env) |
if globally_unused_rules is None: |