Index: tools/run-tests.py |
diff --git a/tools/run-tests.py b/tools/run-tests.py |
index 947e38c6e14631de8ba59112fc42812593cfe307..2d94da5a0c28a619c093686871f5d8887ed8d565 100755 |
--- a/tools/run-tests.py |
+++ b/tools/run-tests.py |
@@ -332,8 +332,7 @@ def Execute(arch, mode, args, options, suites, workspace): |
if options.cat: |
verbose.PrintTestSource(s.tests) |
continue |
- variant_flags = s.VariantFlags() or VARIANT_FLAGS |
- s.tests = [ t.CopyAddingFlags(v) for t in s.tests for v in variant_flags ] |
+ s.tests = [ t.CopyAddingFlags(v) for t in s.tests for v in s.VariantFlags(t, VARIANT_FLAGS) ] |
Jakob Kummerow
2013/10/17 13:03:42
nit: 80 cols please. I'd format as:
s.tests =
|
s.tests = ShardTests(s.tests, options.shard_count, options.shard_run) |
num_tests += len(s.tests) |
for t in s.tests: |