[test] Add ignition test set.

Add control for the ignition test suites. This will be
followed by a change on the infra side that targets the
ignition set instead of the hardcoded mjsunit.

After that, cctest can be enabled in a separate CL. This CL
already includes the logic for running cctest for ignition
on swarming.

BUG=v8:4280
LOG=N

Review URL: https://codereview.chromium.org/1559943002

Cr-Commit-Position: refs/heads/master@{#33089}
This commit is contained in:
machenbach 2016-01-04 09:26:22 -08:00 committed by Commit bot
parent 02072112d1
commit ee66506737
4 changed files with 42 additions and 0 deletions

View File

@ -24,6 +24,7 @@
'../test/bot_default.gyp:*',
'../test/benchmarks/benchmarks.gyp:*',
'../test/default.gyp:*',
'../test/ignition.gyp:*',
'../test/intl/intl.gyp:*',
'../test/message/message.gyp:*',
'../test/mjsunit/mjsunit.gyp:*',

27
test/ignition.gyp Normal file
View File

@ -0,0 +1,27 @@
# 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'ignition_run',
'type': 'none',
'dependencies': [
'cctest/cctest.gyp:cctest_run',
'mjsunit/mjsunit.gyp:mjsunit_run',
],
'includes': [
'../build/features.gypi',
'../build/isolate.gypi',
],
'sources': [
'ignition.isolate',
],
},
],
}],
],
}

9
test/ignition.isolate Normal file
View File

@ -0,0 +1,9 @@
# 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.
{
'includes': [
'cctest/cctest.isolate',
'mjsunit/mjsunit.isolate',
],
}

View File

@ -77,6 +77,11 @@ TEST_MAP = {
"intl",
"unittests",
],
"ignition": [
"mjsunit",
# TODO(rmcilroy): Enable cctest in a separate CL.
# "cctest",
],
"optimize_for_size": [
"mjsunit",
"cctest",