Skip to content

Commit 5885aa8

Browse files
test: Repair isolated_any_metadata.sil for Wasm CI
The test was failing on the Wasm CI because `%IRGenFileCheck` is configured for the target platform (in this case wasm32-unknown-wasi), but the test used it to check the output for other platforms. The mismatch was not revealed on the other CI because they are all 64-bit, but the Wasm CI is 32-bit.
1 parent 064c8c5 commit 5885aa8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/IRGen/isolated_any_metadata.sil

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
// RUN: %swift -emit-ir %s -enable-experimental-feature IsolatedAny -target x86_64-apple-macosx10.10 -disable-legacy-type-info -parse-stdlib | %IRGenFileCheck %s -check-prefix=CHECK-ACCESSOR
2-
// RUN: %swift -emit-ir %s -enable-experimental-feature IsolatedAny -target x86_64-unknown-linux-gnu -disable-legacy-type-info -parse-stdlib | %IRGenFileCheck %s -check-prefix=CHECK-DEMANGLE
1+
// RUN: %swift -emit-ir %s -enable-experimental-feature IsolatedAny -target x86_64-apple-macosx10.10 -disable-legacy-type-info -parse-stdlib | %FileCheck -DINT=i64 %s -check-prefixes=CHECK,CHECK-ACCESSOR
2+
// RUN: %swift -emit-ir %s -enable-experimental-feature IsolatedAny -target x86_64-unknown-linux-gnu -disable-legacy-type-info -parse-stdlib | %FileCheck -DINT=i64 %s -check-prefixes=CHECK,CHECK-DEMANGLE
3+
// RUN: %swift -emit-ir %s -enable-experimental-feature IsolatedAny -target wasm32-unknown-none -disable-legacy-type-info -parse-stdlib | %FileCheck -DINT=i32 %s -check-prefixes=CHECK,CHECK-DEMANGLE
34

45
// REQUIRES: concurrency
56

0 commit comments

Comments
 (0)