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

Unified Diff: tools/testrunner/local/variants.py

Issue 2203013002: [test] Enable test status filtering by variant (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Nits Created 4 years, 4 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
« no previous file with comments | « tools/testrunner/local/utils.py ('k') | tools/testrunner/objects/testcase.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testrunner/local/variants.py
diff --git a/tools/testrunner/local/variants.py b/tools/testrunner/local/variants.py
new file mode 100644
index 0000000000000000000000000000000000000000..bb029978a232b7c6e7b0afa314899560b540e557
--- /dev/null
+++ b/tools/testrunner/local/variants.py
@@ -0,0 +1,30 @@
+# Copyright 2016 the V8 project authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Use this to run several variants of the tests.
+ALL_VARIANT_FLAGS = {
+ "default": [[]],
+ "stress": [["--stress-opt", "--always-opt"]],
+ "turbofan": [["--turbo"]],
+ "turbofan_opt": [["--turbo", "--always-opt"]],
+ "nocrankshaft": [["--nocrankshaft"]],
+ "ignition": [["--ignition"]],
+ "ignition_turbofan": [["--ignition-staging", "--turbo"]],
+ "preparser": [["--min-preparse-length=0"]],
+}
+
+# FAST_VARIANTS implies no --always-opt.
+FAST_VARIANT_FLAGS = {
+ "default": [[]],
+ "stress": [["--stress-opt"]],
+ "turbofan": [["--turbo"]],
+ "nocrankshaft": [["--nocrankshaft"]],
+ "ignition": [["--ignition"]],
+ "ignition_turbofan": [["--ignition-staging", "--turbo"]],
+ "preparser": [["--min-preparse-length=0"]],
+}
+
+ALL_VARIANTS = set(["default", "stress", "turbofan", "turbofan_opt",
+ "nocrankshaft", "ignition", "ignition_turbofan",
+ "preparser"])
« no previous file with comments | « tools/testrunner/local/utils.py ('k') | tools/testrunner/objects/testcase.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698