Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 0 additions & 35 deletions test/extensions/common/wasm/wasm_vm_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,6 @@ TEST_P(WasmVmTest, V8BadCode) {
}

TEST_P(WasmVmTest, V8Code) {
#ifndef NDEBUG
// Do not execute pre-compilation tests in debug mode because V8 will fail to load because the
// flags do not match. TODO: restore this test when the rust toolchain is integrated.
if (GetParam() == 1) {
return;
}
#endif
auto wasm_vm = createWasmVm("envoy.wasm.runtime.v8", scope_);
ASSERT_TRUE(wasm_vm != nullptr);
EXPECT_TRUE(wasm_vm->runtime() == "v8");
Expand All @@ -171,13 +164,6 @@ TEST_P(WasmVmTest, V8Code) {
}

TEST_P(WasmVmTest, V8BadHostFunctions) {
#ifndef NDEBUG
// Do not execute pre-compilation tests in debug mode because V8 will fail to load because the
// flags do not match. TODO: restore this test when the rust toolchain is integrated.
if (GetParam() == 1) {
return;
}
#endif
auto wasm_vm = createWasmVm("envoy.wasm.runtime.v8", scope_);
ASSERT_TRUE(wasm_vm != nullptr);

Expand All @@ -199,13 +185,6 @@ TEST_P(WasmVmTest, V8BadHostFunctions) {
}

TEST_P(WasmVmTest, V8BadModuleFunctions) {
#ifndef NDEBUG
// Do not execute pre-compilation tests in debug mode because V8 will fail to load because the
// flags do not match. TODO: restore this test when the rust toolchain is integrated.
if (GetParam() == 1) {
return;
}
#endif
auto wasm_vm = createWasmVm("envoy.wasm.runtime.v8", scope_);
ASSERT_TRUE(wasm_vm != nullptr);

Expand Down Expand Up @@ -234,13 +213,6 @@ TEST_P(WasmVmTest, V8BadModuleFunctions) {
}

TEST_P(WasmVmTest, V8FunctionCalls) {
#ifndef NDEBUG
// Do not execute pre-compilation tests in debug mode because V8 will fail to load because the
// flags do not match. TODO: restore this test when the rust toolchain is integrated.
if (GetParam() == 1) {
return;
}
#endif
auto wasm_vm = createWasmVm("envoy.wasm.runtime.v8", scope_);
ASSERT_TRUE(wasm_vm != nullptr);

Expand Down Expand Up @@ -279,13 +251,6 @@ TEST_P(WasmVmTest, V8FunctionCalls) {
}

TEST_P(WasmVmTest, V8Memory) {
#ifndef NDEBUG
// Do not execute pre-compilation tests in debug mode because V8 will fail to load because the
// flags do not match. TODO: restore this test when the rust toolchain is integrated.
if (GetParam() == 1) {
return;
}
#endif
auto wasm_vm = createWasmVm("envoy.wasm.runtime.v8", scope_);
ASSERT_TRUE(wasm_vm != nullptr);

Expand Down