Add inspector tests to default tests to run locally.

R=machenbach@chromium.org

Review-Url: https://codereview.chromium.org/2474863002
Cr-Commit-Position: refs/heads/master@{#40751}
This commit is contained in:
yangguo 2016-11-04 01:49:56 -07:00 committed by Commit bot
parent 8108a294a7
commit c20f27a254
5 changed files with 23 additions and 6 deletions

View File

@ -48,6 +48,7 @@ group("default_tests") {
deps = [
":cctest_run",
":fuzzer_run",
":inspector-test_run",
":intl_run",
":message_run",
":mjsunit_run",
@ -60,7 +61,6 @@ group("default_tests") {
v8_isolate_run("bot_default") {
deps = [
":default_tests",
":inspector-test_run",
":webkit_run",
]

View File

@ -19,6 +19,13 @@
'unittests/unittests.gyp:unittests_run',
'webkit/webkit.gyp:webkit_run',
],
'conditions': [
['v8_enable_inspector==1', {
'dependencies': [
'inspector/inspector.gyp:inspector-test_run',
],
}],
],
'includes': [
'../gypfiles/features.gypi',
'../gypfiles/isolate.gypi',

View File

@ -18,6 +18,13 @@
'preparser/preparser.gyp:preparser_run',
'unittests/unittests.gyp:unittests_run',
],
'conditions': [
['v8_enable_inspector==1', {
'dependencies': [
'inspector/inspector.gyp:inspector-test_run',
],
}],
],
'includes': [
'../gypfiles/features.gypi',
'../gypfiles/isolate.gypi',

View File

@ -11,6 +11,7 @@
'cctest/cctest.isolate',
'debugger/debugger.isolate',
'fuzzer/fuzzer.isolate',
'inspector/inspector.isolate'
'intl/intl.isolate',
'message/message.isolate',
'mjsunit/mjsunit.isolate',

View File

@ -66,10 +66,10 @@ TEST_MAP = {
# This needs to stay in sync with test/bot_default.isolate.
"bot_default": [
"mjsunit",
"debugger",
"cctest",
"webkit",
"debugger",
"inspector",
"webkit",
"fuzzer",
"message",
"preparser",
@ -79,8 +79,9 @@ TEST_MAP = {
# This needs to stay in sync with test/default.isolate.
"default": [
"mjsunit",
"debugger",
"cctest",
"debugger",
"inspector",
"fuzzer",
"message",
"preparser",
@ -90,10 +91,10 @@ TEST_MAP = {
# This needs to stay in sync with test/optimize_for_size.isolate.
"optimize_for_size": [
"mjsunit",
"debugger",
"cctest",
"webkit",
"debugger",
"inspector",
"webkit",
"intl",
],
"unittests": [
@ -611,6 +612,7 @@ def ProcessOptions(options):
TEST_MAP["bot_default"].remove("intl")
TEST_MAP["default"].remove("intl")
if not options.enable_inspector:
TEST_MAP["default"].remove("inspector")
TEST_MAP["bot_default"].remove("inspector")
TEST_MAP["optimize_for_size"].remove("inspector")
TEST_MAP["default"].remove("debugger")