From 8481354f4804c74d7ec6b57168c83df3c0dfb85e Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Tue, 5 Oct 2021 10:27:29 +0100 Subject: [PATCH] test: disable `Concurrency/Runtime/exclusivity.swift` on WASI Tests for crashes aren't available on WebAssembly/WASI since there's no way to intercept traps or crashes on this platform. Trapping causes the whole Wasm VM to shut down with no way to recover from within the test code. --- test/Concurrency/Runtime/exclusivity.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Concurrency/Runtime/exclusivity.swift b/test/Concurrency/Runtime/exclusivity.swift index 37ffd7fa2feeb..54fc08cb4f7cd 100644 --- a/test/Concurrency/Runtime/exclusivity.swift +++ b/test/Concurrency/Runtime/exclusivity.swift @@ -5,6 +5,7 @@ // REQUIRES: concurrency_runtime // UNSUPPORTED: back_deployment_runtime +// UNSUPPORTED: OS=wasi // This test makes sure that: //