From 4382b1c14f4e49a9216ad717a61e60f0e1a5832b Mon Sep 17 00:00:00 2001
From: Cheng Shao <terrorjack@type.dance>
Date: Sat, 19 Oct 2024 00:51:22 +0000
Subject: [PATCH] testsuite: skip bkpfail tests that fail on wasm

(cherry picked from commit 1fad5bf1ae134913c4aabeac267a4a09d3f6279e)
---
 testsuite/tests/backpack/should_fail/all.T | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/testsuite/tests/backpack/should_fail/all.T b/testsuite/tests/backpack/should_fail/all.T
index e01a4281a5f..ad0686003f9 100644
--- a/testsuite/tests/backpack/should_fail/all.T
+++ b/testsuite/tests/backpack/should_fail/all.T
@@ -11,10 +11,10 @@ test('bkpfail12', normal, backpack_compile_fail, [''])
 test('bkpfail13', normal, backpack_compile_fail, [''])
 test('bkpfail14', normal, backpack_compile_fail, [''])
 test('bkpfail15', normal, backpack_compile_fail, [''])
-test('bkpfail16', normalise_version('base'), backpack_compile_fail, [''])
-test('bkpfail17', normalise_version('base'), backpack_compile_fail, [''])
+test('bkpfail16', [when(arch('wasm32'), skip), normalise_version('base')], backpack_compile_fail, [''])
+test('bkpfail17', [when(arch('wasm32'), skip), normalise_version('base')], backpack_compile_fail, [''])
 test('bkpfail18', normal, backpack_compile_fail, [''])
-test('bkpfail19', normalise_version('base'), backpack_compile_fail, [''])
+test('bkpfail19', [when(arch('wasm32'), skip), normalise_version('base')], backpack_compile_fail, [''])
 test('bkpfail20', normal, backpack_compile_fail, [''])
 test('bkpfail21', normal, backpack_compile_fail, [''])
 test('bkpfail22', normal, backpack_compile_fail, [''])
-- 
GitLab