Commit 05218010 authored by machenbach's avatar machenbach Committed by Commit bot

[Swarming] Isolate perf tests.

This is to enable deduplicating performance tests. We'll
create a hash of all relevant files and send it to perf bots
alongside the other swarming hashes (follow up on infra
side).

This will not actually run on swarming yet, but could at
some later point.

This splits off the cctest executable from other verification
test files, as those are not needed in performance tests.

BUG=chromium:535160
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#33989}
parent 357e0143
......@@ -31,6 +31,7 @@
'../test/mjsunit/mjsunit.gyp:*',
'../test/mozilla/mozilla.gyp:*',
'../test/optimize_for_size.gyp:*',
'../test/perf.gyp:*',
'../test/preparser/preparser.gyp:*',
'../test/simdjs/simdjs.gyp:*',
'../test/test262/test262.gyp:*',
......
......@@ -370,7 +370,7 @@
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'cctest_run',
'target_name': 'cctest_exe_run',
'type': 'none',
'dependencies': [
'cctest',
......@@ -378,6 +378,19 @@
'includes': [
'../../build/isolate.gypi',
],
'sources': [
'cctest_exe.isolate',
],
},
{
'target_name': 'cctest_run',
'type': 'none',
'dependencies': [
'cctest_exe_run',
],
'includes': [
'../../build/isolate.gypi',
],
'sources': [
'cctest.isolate',
],
......
......@@ -4,13 +4,12 @@
{
'variables': {
'files': [
'<(PRODUCT_DIR)/cctest<(EXECUTABLE_SUFFIX)',
'./cctest.status',
'./testcfg.py',
],
},
'includes': [
'../../src/base.isolate',
'cctest_exe.isolate',
'../../tools/testrunner/testrunner.isolate',
],
}
\ No newline at end of file
}
# 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.
{
'variables': {
'files': [
'<(PRODUCT_DIR)/cctest<(EXECUTABLE_SUFFIX)',
],
},
'includes': [
'../../src/base.isolate',
],
}
# 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': 'perf_run',
'type': 'none',
'dependencies': [
'cctest/cctest.gyp:cctest_exe_run',
'../src/d8.gyp:d8_run',
],
'includes': [
'../build/features.gypi',
'../build/isolate.gypi',
],
'sources': [
'perf.isolate',
],
},
],
}],
],
}
# 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.
{
'variables': {
'command': [
'../tools/run_perf.py',
],
'files': [
'../tools/run_perf.py',
# This is often used to trigger performance bots. We include it in the
# isolate to not get these builds deduped.
'../tools/whitespace.txt',
'js-perf-test/',
'memory/',
'simdjs/',
],
},
'includes': [
'cctest/cctest_exe.isolate',
'../src/d8.isolate',
],
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment