Skip to content

Commit 417af9d

Browse files
Merge pull request swiftlang#248 from kateinoigakukun/katei/unsupported-tests
[WASM] Disable unsupported test suite on WASM
2 parents a430d8d + d498cb2 commit 417af9d

31 files changed

+64
-16
lines changed

test/AutolinkExtract/empty.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55

66
// CHECK-elf: -lswiftCore
77
// CHECK-coff: -lswiftCore
8+
// CHECK-wasm: -lswiftCore

test/AutolinkExtract/empty_archive.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77

88
// CHECK-elf: -lswiftCore
99
// CHECK-coff: -lswiftCore
10+
// CHECK-wasm: -lswiftCore

test/AutolinkExtract/import.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@
1111
// CHECK-coff-DAG: -lswiftCore
1212
// CHECK-coff-DAG: -lempty
1313

14+
// CHECK-wasm-DAG: -lswiftCore
15+
// CHECK-wasm-DAG: -lempty
16+
1417
import empty

test/ClangImporter/clang_builtins.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
44
import Darwin
5-
#elseif os(Linux) || os(FreeBSD) || os(PS4) || os(Android) || os(Cygwin) || os(Haiku)
5+
#elseif os(Linux) || os(FreeBSD) || os(PS4) || os(Android) || os(Cygwin) || os(Haiku) || os(WASI)
66
import Glibc
77
#elseif os(Windows)
88
import MSVCRT

test/IRGen/builtin_math.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
44
import Darwin
5-
#elseif os(Linux) || os(FreeBSD) || os(PS4) || os(Android) || os(Cygwin) || os(Haiku)
5+
#elseif os(Linux) || os(FreeBSD) || os(PS4) || os(Android) || os(Cygwin) || os(Haiku) || os(WASI)
66
import Glibc
77
#elseif os(Windows)
88
import MSVCRT

test/IRGen/sanitize_coverage.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
// RUN: %target-swift-frontend -emit-ir -sanitize=address -sanitize-coverage=edge,indirect-calls %s | %FileCheck %s -check-prefix=SANCOV -check-prefix=SANCOV_INDIRECT_CALLS
88
// RUN: %target-swift-frontend -emit-ir -sanitize=address -sanitize-coverage=edge,8bit-counters %s | %FileCheck %s -check-prefix=SANCOV -check-prefix=SANCOV_8BIT_COUNTERS
99
// RUN: %target-swift-frontend -emit-ir -sanitize=fuzzer %s | %FileCheck %s -check-prefix=SANCOV -check-prefix=SANCOV_TRACE_CMP
10+
// UNSUPPORTED: wasm
1011

1112
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
1213
import Darwin

test/Interpreter/dynamicReplacement_property_observer.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// REQUIRES: executable_test
99

1010
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic
11+
// UNSUPPORTED: wasm
1112

1213
@_private(sourceFile: "dynamic_replacement_property_observer_orig.swift") import TestDidWillSet
1314

test/Interpreter/dynamic_replacement.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848

4949

5050
// REQUIRES: executable_test
51+
// UNSUPPORTED: wasm
5152

5253
import Module1
5354

test/Interpreter/dynamic_replacement_chaining.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
// This test flips the chaining flag.
2222
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic
23+
// UNSUPPORTED: wasm
2324

2425
import A
2526

test/Interpreter/dynamic_replacement_without_previous_calls.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// RUN: %target-run %t/main %t/%target-library-name(Module1) %t/%target-library-name(Module2)
77

88
// REQUIRES: executable_test
9+
// UNSUPPORTED: wasm
910

1011
import Module1
1112

0 commit comments

Comments
 (0)