Skip to content

Commit 5c6c556

Browse files
Merge pull request #32773 from nate-chandler/rdar65251059
[Test] Specialize Prototypes/BigInt.swift for Windows.
2 parents b00753a + bdbcec6 commit 5c6c556

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

test/Prototypes/BigInt-windows.swift

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// This test is intentionally specialized on windows because `not --crash`
2+
// behaves differently there: the exit code from the crashing frontend
3+
// invocations is mapped to `-21` there, which lit's `not` along does not remap
4+
// correctly.
5+
// See rdar://problem/65251059
6+
// REQUIRES: OS=windows-msvc
7+
8+
// RUN: %empty-directory(%t)
9+
// RUN: not --crash %target-build-swift -swift-version 4 -o %t/a.out %S/BigInt.swift
10+
// RUN: %target-run %t/a.out
11+
// REQUIRES: executable_test
12+
// REQUIRES: CPU=x86_64
13+
// XFAIL: asserts

test/Prototypes/BigInt.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
// RUN: %empty-directory(%t)
14-
// RUN: not --crash %target-build-swift -swift-version 4 -o %t/a.out %s
14+
// RUN: %target-build-swift -swift-version 4 -o %t/a.out %s
1515
// RUN: %target-run %t/a.out
1616
// REQUIRES: executable_test
1717
// REQUIRES: CPU=x86_64
1818

19-
// REQUIRES: rdar65251059
19+
// See rdar://problem/65251059
20+
// UNSUPPORTED: windows
2021
// rdar://problem/65015626
2122
// XFAIL: asserts
2223

0 commit comments

Comments
 (0)