Android: activate tst_QThreadStorage

Skip a test that uses QProcess instead of blacklisting it.
Re-enable this test in CMakeLists.txt, so that it can be checked
in the CI.

Fixes: QTBUG-87431
Pick-to: 6.3 6.2
Change-Id: If8a4acd60735f355dffa60c28b8d07695ee33ec8
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
bb10
Ivan Solovev 2022-03-23 16:09:55 +01:00
parent 68f7ba2150
commit 83a587bfa6
3 changed files with 4 additions and 9 deletions

View File

@ -22,12 +22,7 @@ if(QT_FEATURE_thread)
# special case end
add_subdirectory(qthreadonce)
add_subdirectory(qthreadpool)
# special case begin
# QTBUG-87431
if(NOT ANDROID)
add_subdirectory(qthreadstorage)
endif()
# special case end
add_subdirectory(qthreadstorage)
add_subdirectory(qwaitcondition)
add_subdirectory(qwritelocker)
if(NOT INTEGRITY)

View File

@ -1,3 +0,0 @@
# QTBUG-87431
[crashOnExit]
android

View File

@ -297,6 +297,9 @@ static inline bool runCrashOnExit(const QString &binary, QString *errorMessage)
void tst_QThreadStorage::crashOnExit()
{
#ifdef Q_OS_ANDROID
QSKIP("Can't start QProcess to run a custom user binary on Android");
#endif
#if !QT_CONFIG(process)
QSKIP("No qprocess support", SkipAll);
#else