e746e2a11a
Several tests require test data to be deployed with the application. The easiest way to achieve this on Android is to add them to a qrc file and use the QFINDTESTDATA macro to look up the files. This fixes several test failures in the gui/text subdirectory for Android. Change-Id: If944bb1fc93434a1b2d6487da829d21bd6b84e87 Reviewed-by: BogDan Vatra <bogdan@kde.org>
23 lines
426 B
Prolog
23 lines
426 B
Prolog
CONFIG += testcase
|
|
CONFIG += parallel_test
|
|
TARGET = tst_qcssparser
|
|
SOURCES += tst_qcssparser.cpp
|
|
QT += xml gui-private testlib
|
|
|
|
requires(contains(QT_CONFIG,private_tests))
|
|
DEFINES += SRCDIR=\\\"$$PWD\\\"
|
|
|
|
wince* {
|
|
addFiles.files = testdata
|
|
addFiles.path = .
|
|
timesFont.files = C:/Windows/Fonts/times.ttf
|
|
timesFont.path = .
|
|
DEPLOYMENT += addFiles timesFont
|
|
}
|
|
|
|
android {
|
|
RESOURCES += \
|
|
testdata.qrc
|
|
|
|
}
|