Android: skip tst_QPluginLoader::loadSectionTableStrippedElf()
... on Android 7+ because Android linker doens't accept missing or bad section headers. * https://android.googlesource.com/platform/bionic/+/refs/heads/oreo-r2- release/android-changes-for-ndk-developers.md#missing-section-headers- enforced-for-api-level-24 Pick-to: 6.4 6.3 6.2 Task-number: QTQAINFRA-4748 Change-Id: I37fcf7995bbfe7d258b92f7425baf4722b0ad4ab Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
parent
cf4f147c23
commit
d1e97ada4e
@ -984,6 +984,10 @@ void tst_QPluginLoader::reloadPlugin()
|
|||||||
|
|
||||||
void tst_QPluginLoader::loadSectionTableStrippedElf()
|
void tst_QPluginLoader::loadSectionTableStrippedElf()
|
||||||
{
|
{
|
||||||
|
#ifdef Q_OS_ANDROID
|
||||||
|
if (QNativeInterface::QAndroidApplication::sdkVersion() >= 24)
|
||||||
|
QSKIP("Android 7+ (API 24+) linker doesn't allow missing or bad section header");
|
||||||
|
#endif
|
||||||
#if !defined(QT_SHARED)
|
#if !defined(QT_SHARED)
|
||||||
QSKIP("This test requires a shared build of Qt, as QPluginLoader::setFileName is a no-op in static builds");
|
QSKIP("This test requires a shared build of Qt, as QPluginLoader::setFileName is a no-op in static builds");
|
||||||
#elif !defined(Q_OF_ELF)
|
#elif !defined(Q_OF_ELF)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user