Skip to content

Commit 32913de

Browse files
authored
Android: disable new @available test until we get NDK 28 or newer in the CI (#85069)
This test was only run with NDK 28 locally, so we didn't realize this feature won't work with Bionic in LTS NDK 27, which is what the CI uses. We will re-enable this with the next LTS NDK release, when we switch the Android CI to use that next LTS NDK.
1 parent 1d83ad8 commit 32913de

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/ClangImporter/availability_android.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
// REQUIRES: OS=linux-android || OS=linux-androideabi
44

5+
// Disable this test till we get a LTS NDK on the CI that supports it.
6+
// REQUIRES: NDK28
7+
58
import AndroidVersioning
69
import Android
710

@@ -25,4 +28,4 @@ func test_getentropy_introduced_in_28() {
2528
_ = getentropy(&buffer, buffer.count)
2629
// expected-error@-1 {{'getentropy' is only available in Android 28 or newer}}
2730
// expected-note@-2 {{add 'if #available' version check}}
28-
}
31+
}

0 commit comments

Comments
 (0)