Skip to content

Commit 8ef468c

Browse files
committed
[cxx-interop] Fix libc++ tests
These two tests require execution privileges in order to run `check-libcxx-version`, which is used to restrict the tests to a range of libc++ versions. They were failing on `non_executable` CI jobs because of missing `// REQUIRES: executable_test`. rdar://145821727
1 parent 42ad91e commit 8ef468c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test/Interop/Cxx/stdlib/libcxx-module-interface.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// This test is specific to libc++ and therefore only runs on Darwin platforms.
1212
// REQUIRES: OS=macosx || OS=ios
1313

14+
// Since this test runs check-libcxx-version, it requires execution.
15+
// REQUIRES: executable_test
16+
1417
// CHECK-STD: import CxxStdlib.iosfwd
1518
// CHECK-STD: import CxxStdlib.string
1619

test/Interop/Cxx/stdlib/libcxx-symbolic-module-interface.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// REQUIRES: OS=macosx
1212
// REQUIRES: swift_feature_ImportSymbolicCXXDecls
1313

14+
// Since this test runs check-libcxx-version, it requires execution.
15+
// REQUIRES: executable_test
16+
1417
// CHECK: enum std {
1518
// CHECK: enum __1 {
1619

0 commit comments

Comments
 (0)