summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/itemviews/qdirmodel/qdirmodel.pro
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>2015-01-13 16:02:48 +0100
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>2015-01-16 09:27:52 +0100
commit7a760f5ed91055b536219b7beff7a1e5446e1b59 (patch)
tree8530d2bf0f8a30c3057fbfeabf2af30f29efe68f /tests/auto/widgets/itemviews/qdirmodel/qdirmodel.pro
parenta0c21829eaa2bfc70b4d134c26ac96a63e48a6a5 (diff)
Android: Fix QDirModel tests
This test needs to have a test environment available on the regular file system, so we create this when initializing the test. In addition we QEXPECT_FAIL one of the tests which seems to expose a legitimate bug. A bug report has been created for this. Change-Id: I7c90aea78a067815cb647a51db5d91a652a9fc1c Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'tests/auto/widgets/itemviews/qdirmodel/qdirmodel.pro')
-rw-r--r--tests/auto/widgets/itemviews/qdirmodel/qdirmodel.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/widgets/itemviews/qdirmodel/qdirmodel.pro b/tests/auto/widgets/itemviews/qdirmodel/qdirmodel.pro
index 680286d1e4..79848ac22c 100644
--- a/tests/auto/widgets/itemviews/qdirmodel/qdirmodel.pro
+++ b/tests/auto/widgets/itemviews/qdirmodel/qdirmodel.pro
@@ -13,9 +13,13 @@ wince* {
DEPLOYMENT += addit tests sourceFile
}
-wince*: {
+android|wince*: {
DEFINES += SRCDIR=\\\"./\\\"
} else {
DEFINES += SRCDIR=\\\"$$PWD/\\\"
}
+android: !android-no-sdk {
+ RESOURCES += \
+ testdata.qrc
+}