summaryrefslogtreecommitdiffstats
path: root/tests/auto/qttest.pri
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2013-02-12 10:07:19 +0100
committerKai Koehne <kai.koehne@digia.com>2013-02-13 17:12:53 +0100
commit52c09f5618db5b793cb1a4114c7f35c7d13a3967 (patch)
tree54ddc1973affe210c57046dd8088e97c5a904315 /tests/auto/qttest.pri
parentaa00cc506013b0de8c68e657974a3d1ab5241880 (diff)
Add auto-test for QInstaller::Settings
Change-Id: I693f051636a81c395b3c75701a803ea7593a1fc1 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'tests/auto/qttest.pri')
-rw-r--r--tests/auto/qttest.pri18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/qttest.pri b/tests/auto/qttest.pri
new file mode 100644
index 000000000..f6be301e8
--- /dev/null
+++ b/tests/auto/qttest.pri
@@ -0,0 +1,18 @@
+include(../../installerfw.pri)
+#include(qttestrpath.pri)
+
+isEmpty(TEMPLATE):TEMPLATE=app
+QT += testlib
+CONFIG += qt warn_on console depend_includepath testcase
+CONFIG -= app_bundle
+
+DEFINES -= QT_NO_CAST_FROM_ASCII
+# prefix test binary with tst_
+!contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")
+
+#win32 {
+# lib = ../../
+# lib ~= s,/,\\,g
+# # the below gets added to later by testcase.prf
+# check.commands = cd . & set PATH=$$lib;%PATH%& cmd /c
+#}