Repair tst_qmlcppcodegen on Android

tst_qmlcppcodegen tries to start itself again using QProcess.
This does not work on Android. This patch skips this test.

Task-number: QTBUG-101865
Pick-to: 6.2 6.3
Change-Id: Ib8f9a5e028a938949347bc8e83ea483d0228968e
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
Andreas Buhr 2022-04-05 13:19:29 +02:00
parent 55c7f1ad13
commit 598bfdb139
1 changed files with 4 additions and 0 deletions

View File

@ -1984,6 +1984,10 @@ void tst_QmlCppCodegen::evadingAmbiguity()
void tst_QmlCppCodegen::runInterpreted() void tst_QmlCppCodegen::runInterpreted()
{ {
#ifdef Q_OS_ANDROID
QSKIP("Can't start QProcess to run a custom user binary on Android");
#endif
if (qEnvironmentVariableIsSet("QV4_FORCE_INTERPRETER")) if (qEnvironmentVariableIsSet("QV4_FORCE_INTERPRETER"))
QSKIP("Already running in interpreted mode"); QSKIP("Already running in interpreted mode");