37a4937baf
Since this produces a few false positives, also implemented a whitelist mechanism to not report them. Also, add a couple of tests and implemented automated testing against test-expectations file. Bug: v8:9321 Change-Id: I2915a29fe1891e8bbc51118bbd95ae072c8de023 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1773243 Commit-Queue: Maya Lekova <mslekova@chromium.org> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#63456}
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
# Copyright 2018 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.
|
|
|
|
import("../../gni/v8.gni")
|
|
|
|
group("v8_run_gcmole") {
|
|
testonly = true
|
|
|
|
data = [
|
|
"gccause.lua",
|
|
"GCMOLE.gn",
|
|
"gcmole.lua",
|
|
"gcmole-tools/",
|
|
"parallel.py",
|
|
"run-gcmole.py",
|
|
"suspects.whitelist",
|
|
"test-expectations.txt",
|
|
|
|
# The following contains all relevant source and build files.
|
|
"../debug_helper/debug-helper.h",
|
|
"../../BUILD.gn",
|
|
"../../base/",
|
|
"../../include/",
|
|
"../../src/",
|
|
"../../test/cctest/",
|
|
"../../test/common/",
|
|
"../../testing/gtest/include/gtest/gtest_prod.h",
|
|
"../../third_party/googletest/src/googletest/include/gtest/gtest_prod.h",
|
|
"../../third_party/icu/source/",
|
|
"../../third_party/wasm-api/wasm.h",
|
|
"../../third_party/wasm-api/wasm.hh",
|
|
"../../third_party/inspector_protocol/",
|
|
"$target_gen_dir/../../",
|
|
"$target_gen_dir/../../torque-generated/",
|
|
]
|
|
|
|
deps = [
|
|
"../../:run_torque",
|
|
]
|
|
|
|
if (v8_gcmole) {
|
|
# This assumes gcmole tools have been fetched by a hook
|
|
# into v8/tools/gcmole/gcmole_tools.
|
|
data += [ "gcmole-tools/" ]
|
|
}
|
|
}
|