mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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}}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user