| Index: test/cctest/wasm/wasm-run-utils.h
|
| diff --git a/test/cctest/wasm/wasm-run-utils.h b/test/cctest/wasm/wasm-run-utils.h
|
| index 2457696ace88b82eac4a99ab62d064c9686a7643..4c26465baa29c324a0c49a4d0bd51d9457d92931 100644
|
| --- a/test/cctest/wasm/wasm-run-utils.h
|
| +++ b/test/cctest/wasm/wasm-run-utils.h
|
| @@ -791,15 +791,17 @@ class WasmRunner {
|
| };
|
|
|
| // A macro to define tests that run in different engine configurations.
|
| -// Currently only supports compiled tests, but a future
|
| -// RunWasmInterpreted_##name version will allow each test to also run in the
|
| -// interpreter.
|
| #define WASM_EXEC_TEST(name) \
|
| void RunWasm_##name(WasmExecutionMode execution_mode); \
|
| TEST(RunWasmCompiled_##name) { RunWasm_##name(kExecuteCompiled); } \
|
| TEST(RunWasmInterpreted_##name) { RunWasm_##name(kExecuteInterpreted); } \
|
| void RunWasm_##name(WasmExecutionMode execution_mode)
|
|
|
| +#define WASM_EXEC_COMPILED_TEST(name) \
|
| + void RunWasm_##name(WasmExecutionMode execution_mode); \
|
| + TEST(RunWasmCompiled_##name) { RunWasm_##name(kExecuteCompiled); } \
|
| + void RunWasm_##name(WasmExecutionMode execution_mode)
|
| +
|
| } // namespace
|
|
|
| #endif
|
|
|