From 6ca3f4c80d57bd92c18f028828b889f5c74e10e9 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Thu, 25 Jul 2019 20:28:55 -0700 Subject: Enable all features in wasm-shell assert failure tests (#2254) If we don't enable features in assertion failure tests, new feature tests fail not because they are malformed but because they have unsupported features. It's hard to add tests because existing `assert_invalid` tests were already failing because they have unsupported features. --- src/tools/wasm-shell.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/tools/wasm-shell.cpp b/src/tools/wasm-shell.cpp index 652b3a352..4f7624294 100644 --- a/src/tools/wasm-shell.cpp +++ b/src/tools/wasm-shell.cpp @@ -142,6 +142,7 @@ static void run_asserts(Name moduleName, id == ASSERT_UNLINKABLE) { // a module invalidity test Module wasm; + wasm.features = FeatureSet::All; bool invalid = false; std::unique_ptr builder; try { -- cgit v1.2.3