aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlbasicapp/tst_qmlbasicapp.cpp
diff options
context:
space:
mode:
authorAri Parkkila <ari.parkkila@qt.io>2024-07-05 13:21:26 +0300
committerAri Parkkila <ari.parkkila@qt.io>2024-08-19 09:50:51 +0300
commitcef6aa994d45f202438f67b1a2d92a5d589306a7 (patch)
tree0886b3636cb7c49a07d5aea9d482bf13ebb0b084 /tests/auto/qml/qmlbasicapp/tst_qmlbasicapp.cpp
parent310b46e37c39f784111f131e8f3957abae87751c (diff)
tests: Skip tst_qmlbasicapp when builtin data
Task-number: QTBUG-118680 Change-Id: Ie9a148b6a569e0f8022b141fd4beefb389db7df1 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlbasicapp/tst_qmlbasicapp.cpp')
-rw-r--r--tests/auto/qml/qmlbasicapp/tst_qmlbasicapp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qml/qmlbasicapp/tst_qmlbasicapp.cpp b/tests/auto/qml/qmlbasicapp/tst_qmlbasicapp.cpp
index 3b9028154c..e3ee85b5ee 100644
--- a/tests/auto/qml/qmlbasicapp/tst_qmlbasicapp.cpp
+++ b/tests/auto/qml/qmlbasicapp/tst_qmlbasicapp.cpp
@@ -61,8 +61,8 @@ void tst_basicapp::resourceFiles()
void tst_basicapp::fileSystemFiles()
{
-#ifdef Q_OS_ANDROID
- QSKIP("This test is not valid for Android, because the files can exist only as resources.");
+#if defined(Q_OS_ANDROID) || defined(BUILTIN_TESTDATA)
+ QSKIP("This test is not valid when the files can exist only as resources.");
#endif
const QString basedir = QCoreApplication::applicationDirPath();
QVERIFY(QFile::exists(basedir + QStringLiteral("/BasicApp/main.qml")));