| 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
|
|
|
|
|
|
|