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

Unified Diff: tools/run-tests.py

Issue 2393863002: [inspector] Add swarming support to inspector tests (Closed)
Patch Set: Detach from dependent patchset Created 4 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
« no previous file with comments | « test/optimize_for_size.isolate ('k') | tools/testrunner/testrunner.isolate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/run-tests.py
diff --git a/tools/run-tests.py b/tools/run-tests.py
index f248dff5cc3eb40bb2832f9f0d10059eb4c4f7c8..84fbfc18883556ce644ec6f2118067bcdfe756f5 100755
--- a/tools/run-tests.py
+++ b/tools/run-tests.py
@@ -68,6 +68,7 @@ TEST_MAP = {
"mjsunit",
"cctest",
"webkit",
+ "inspector",
"fuzzer",
"message",
"preparser",
@@ -89,6 +90,7 @@ TEST_MAP = {
"mjsunit",
"cctest",
"webkit",
+ "inspector",
"intl",
],
"unittests": [
@@ -255,6 +257,9 @@ def BuildOptions():
result.add_option("--download-data-only",
help="Deprecated",
default=False, action="store_true")
+ result.add_option("--enable-inspector",
+ help="Indicates a build with inspector support",
+ default=False, action="store_true")
result.add_option("--extra-flags",
help="Additional flags to pass to each test command",
default="")
@@ -466,6 +471,7 @@ def ProcessOptions(options):
options.arch = 'ia32'
options.asan = build_config["is_asan"]
options.dcheck_always_on = build_config["dcheck_always_on"]
+ options.enable_inspector = build_config["v8_enable_inspector"]
options.mode = 'debug' if build_config["is_debug"] else 'release'
options.msan = build_config["is_msan"]
options.no_i18n = not build_config["v8_enable_i18n_support"]
@@ -592,6 +598,9 @@ def ProcessOptions(options):
if options.no_i18n:
TEST_MAP["bot_default"].remove("intl")
TEST_MAP["default"].remove("intl")
+ if not options.enable_inspector:
+ TEST_MAP["bot_default"].remove("inspector")
+ TEST_MAP["optimize_for_size"].remove("inspector")
return True
« no previous file with comments | « test/optimize_for_size.isolate ('k') | tools/testrunner/testrunner.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698