mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
test/CMakeLists.txt: run Embedded Swift for Wasm tests
Run new `check-swift-embedded-wasi` target from `test/CMakeLists.txt`, tweak `lit.cfg` to support both `-wasi` and `-wasip1` triples, exclude unsupported tests based on `CPU=wasm32` instead of `OS=wasi`.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// RUN: %target-swift-frontend -target armv7-apple-none-macho -emit-ir %s -enable-experimental-feature Embedded | %FileCheck %s
|
||||
// RUN: %target-swift-frontend -target arm64-apple-none-macho -emit-ir %s -enable-experimental-feature Embedded | %FileCheck %s
|
||||
|
||||
// UNSUPPORTED: OS=wasi
|
||||
// UNSUPPORTED: CPU=wasm32
|
||||
// REQUIRES: swift_in_compiler
|
||||
// REQUIRES: CODEGENERATOR=ARM
|
||||
// REQUIRES: embedded_stdlib_cross_compiling
|
||||
|
||||
Reference in New Issue
Block a user