f5ab7d38be
In a new test suite: "wasm-api-tests", using a new binary "wasm_api_tests", powered by gtest/gmock (like unittests). Also fix a bunch of issues that these tests uncovered, mostly to ensure that the stack is walkable. Change-Id: I1d5604eea85da078ebecd4ebb7383647595f16ac Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1627539 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#61885}
36 lines
702 B
Plaintext
36 lines
702 B
Plaintext
# Copyright 2019 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")
|
|
|
|
v8_executable("wasm_api_tests") {
|
|
testonly = true
|
|
|
|
deps = [
|
|
"../..:v8_maybe_icu",
|
|
"../..:wee8",
|
|
"//build/win:default_exe_manifest",
|
|
"//testing/gmock",
|
|
"//testing/gtest",
|
|
]
|
|
|
|
data_deps = [
|
|
"../../tools:v8_testrunner",
|
|
]
|
|
|
|
data = [
|
|
"testcfg.py",
|
|
"wasm-api-tests.status",
|
|
]
|
|
|
|
configs = [ "../..:internal_config_base" ]
|
|
|
|
sources = [
|
|
"../../testing/gmock-support.h",
|
|
"../../testing/gtest-support.h",
|
|
"callbacks.cc",
|
|
"run-all-wasm-api-tests.cc",
|
|
]
|
|
}
|