File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
test/ModuleInterface/swift_build_sdk_interfaces Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change
1
+ # This test is intentionally specialized on windows becauase not --crash behaves
2
+ # differently there. The exit code from the crashing frontend invocations is
3
+ # mapped to `-21` there, which lit's `not` along does not remap correctly.
4
+ # See rdar://59397376
5
+ REQUIRES: OS=windows-msvc
6
+
7
+ RUN: env SWIFT_EXEC=%swiftc_driver_plain not --crash %{python} %utils/swift_build_sdk_interfaces.py %mcp_opt -sdk %S/Inputs/mock-sdk/ -o %t/output -debug-crash-compiler 2>&1 | %FileCheck %s
8
+
9
+ CHECK: Program arguments:
10
+ CHECK-SAME: -debug-crash-immediately
11
+ CHECK-SAME: {{.+}}.swiftinterface
12
+
13
+ REQUIRES: asserts
Original file line number Diff line number Diff line change 1
- REQUIRES: rdar59318361
1
+ # For its Windows counterpart, see compiler-crash-windows.test-sh
2
+ UNSUPPORTED: windows
2
3
3
4
RUN: not %swift_build_sdk_interfaces -sdk %S/Inputs/mock-sdk/ -o %t/output -debug-crash-compiler 2>&1 | %FileCheck %s
4
5
You can’t perform that action at this time.
0 commit comments