From 17fff14ab20386dcd8563b7baf4e39b606a5e0fb Mon Sep 17 00:00:00 2001
From: Cheng Shao <terrorjack@type.dance>
Date: Fri, 3 Nov 2023 17:50:43 +0000
Subject: [PATCH] testsuite: fix optasm tests for wasm32

(cherry picked from commit af77114815ad9052261898c830171e49fbed5160)
---
 testsuite/tests/cmm/should_compile/all.T | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testsuite/tests/cmm/should_compile/all.T b/testsuite/tests/cmm/should_compile/all.T
index 4ff84fdc149..45f0b50fcbc 100644
--- a/testsuite/tests/cmm/should_compile/all.T
+++ b/testsuite/tests/cmm/should_compile/all.T
@@ -4,6 +4,7 @@ setTestOpts(
 
 test('selfloop', [cmm_src], compile, ['-no-hs-main'])
 test('cmm_sink_sp', [ only_ways(['optasm']),
+                      when(arch('wasm32'), fragile(24152)),
                       grep_errmsg(r'(\[Sp.*\]).*(=).*(\[.*R1.*\]).*;',[1,2,3]),
                       cmm_src], compile, ['-no-hs-main -ddump-cmm -dsuppress-uniques -O'])
 
-- 
GitLab