From ee66506737dbf828669857ec4422c26ff2bb3e01 Mon Sep 17 00:00:00 2001 From: machenbach Date: Mon, 4 Jan 2016 09:26:22 -0800 Subject: [PATCH] [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} --- build/all.gyp | 1 + test/ignition.gyp | 27 +++++++++++++++++++++++++++ test/ignition.isolate | 9 +++++++++ tools/run-tests.py | 5 +++++ 4 files changed, 42 insertions(+) create mode 100644 test/ignition.gyp create mode 100644 test/ignition.isolate diff --git a/build/all.gyp b/build/all.gyp index 0195083b01..f69315ba05 100644 --- a/build/all.gyp +++ b/build/all.gyp @@ -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:*', diff --git a/test/ignition.gyp b/test/ignition.gyp new file mode 100644 index 0000000000..6aebec9e19 --- /dev/null +++ b/test/ignition.gyp @@ -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', + ], + }, + ], + }], + ], +} diff --git a/test/ignition.isolate b/test/ignition.isolate new file mode 100644 index 0000000000..9604a694b2 --- /dev/null +++ b/test/ignition.isolate @@ -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', + ], +} diff --git a/tools/run-tests.py b/tools/run-tests.py index 42285a2ba6..5550be0b75 100755 --- a/tools/run-tests.py +++ b/tools/run-tests.py @@ -77,6 +77,11 @@ TEST_MAP = { "intl", "unittests", ], + "ignition": [ + "mjsunit", + # TODO(rmcilroy): Enable cctest in a separate CL. + # "cctest", + ], "optimize_for_size": [ "mjsunit", "cctest",