18cbf05e8e
This removes the dependency on Lua for running gcmole, and Python's expressiveness lets us clean up the code a bit, including getting rid of global variables, embedding the multiprocessing (removing the need for a separate `parallel.py`), and using difflib for printing the test expectation diff. Bug: v8:11169, v8:8590, chromium:1097212 Change-Id: If0ab5ea6f764864855d73cd0ba63cb37c1823955 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2543927 Commit-Queue: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Liviu Rau <liviurau@chromium.org> Reviewed-by: Maya Lekova <mslekova@chromium.org> Cr-Commit-Position: refs/heads/master@{#71253}
47 lines
1.2 KiB
Plaintext
47 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 = [
|
|
"GCMOLE.gn",
|
|
"gcmole.py",
|
|
"gcmole-test.cc",
|
|
"gcmole-tools/",
|
|
"run-gcmole.py",
|
|
"suspects.whitelist",
|
|
"ignored_files",
|
|
"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/zlib/",
|
|
"../../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/" ]
|
|
}
|
|
}
|