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.
This commit is contained in:
finagolfin
2025-10-23 05:51:52 +05:30
committed by GitHub
parent 1d83ad8df0
commit 32913de8c1

View File

@@ -2,6 +2,9 @@
// REQUIRES: OS=linux-android || OS=linux-androideabi
// Disable this test till we get a LTS NDK on the CI that supports it.
// REQUIRES: NDK28
import AndroidVersioning
import Android
@@ -25,4 +28,4 @@ func test_getentropy_introduced_in_28() {
_ = getentropy(&buffer, buffer.count)
// expected-error@-1 {{'getentropy' is only available in Android 28 or newer}}
// expected-note@-2 {{add 'if #available' version check}}
}
}