mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Make verify_all_overlays.sil fail loudly instead of silently (#22325)
...then XFAIL it. Filed https://bugs.swift.org/browse/SR-9847 to look into it later.
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
// 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
|
||||
// RUN: %empty-directory(%t)
|
||||
// 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
|
||||
// RUN: not cat %t/failures.txt
|
||||
|
||||
// CHECK-NOT: Unknown
|
||||
|
||||
// REQUIRES: long_test
|
||||
// REQUIRES: nonexecutable_test
|
||||
|
||||
// XFAIL: OS=macosx || OS=ios || OS=tvos || OS=watchos
|
||||
// https://bugs.swift.org/browse/SR-9847
|
||||
|
||||
Reference in New Issue
Block a user