Skip to content

Commit 482d2ba

Browse files
authored
Make verify_all_overlays.sil fail loudly instead of silently (swiftlang#22325)
...then XFAIL it. Filed https://bugs.swift.org/browse/SR-9847 to look into it later.
1 parent 48e48f2 commit 482d2ba

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
// RUN: for x in %platform-sdk-overlay-dir/*.swiftmodule; do [[ $(basename "$x") = Swift.swiftmodule ]] && continue; llvm-bcanalyzer $x | %FileCheck %s; %target-sil-opt -sdk %sdk -enable-sil-verify-all $x > /dev/null; done
1+
// RUN: %empty-directory(%t)
2+
// RUN: for x in %platform-sdk-overlay-dir/*.swiftmodule; do [[ $(basename "$x") = Swift.swiftmodule ]] && continue; llvm-bcanalyzer $x | %FileCheck %s || echo "$x (bcanalyzer)" >> %t.txt; %target-sil-opt -sdk %sdk -enable-sil-verify-all $x > /dev/null || echo "$x (sil-opt)" >> %t/failures.txt; done
3+
// RUN: not cat %t/failures.txt
24

35
// CHECK-NOT: Unknown
46

57
// REQUIRES: long_test
68
// REQUIRES: nonexecutable_test
9+
10+
// XFAIL: OS=macosx || OS=ios || OS=tvos || OS=watchos
11+
// https://bugs.swift.org/browse/SR-9847

0 commit comments

Comments
 (0)