Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Unified Diff: tools/run-tests.py

Issue 27704002: Make it possible to run a test only in the standard variant. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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:

Powered by Google App Engine
This is Rietveld 408576698