Skip to content

Commit c6efc8d

Browse files
authored
Test that the swiftinterface for the stdlib can be compiled (#24128)
...like we've done with the overlays for months. Meant to do this a long time ago, but at the time we hadn't gotten the stdlib working yet!
1 parent f75dea4 commit c6efc8d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Note that this test should still "pass" when Swift.swiftinterface has not
2+
// been generated.
3+
4+
// RUN: %empty-directory(%t)
5+
// RUN: not ls %platform-module-dir/Swift.swiftmodule/%target-cpu.swiftinterface || %target-swift-frontend -build-module-from-parseable-interface %platform-module-dir/Swift.swiftmodule/%target-cpu.swiftinterface -parse-stdlib -o %t/Swift.swiftmodule
6+
7+
// REQUIRES: nonexecutable_test

0 commit comments

Comments
 (0)