aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2013-12-07 17:34:22 +0200
committerOskari Timperi <oskari.timperi@iki.fi>2013-12-07 17:34:22 +0200
commit0450df418933ecbb74a631432c144739a05808ef (patch)
tree4176f0a63562a6160edac331e3ed27c926bfacfd /tests
parentef5baad9ff47cfe32bb4f97368e0b3148765caa6 (diff)
downloadunitmaster-0450df418933ecbb74a631432c144739a05808ef.tar.gz
unitmaster-0450df418933ecbb74a631432c144739a05808ef.zip
forgot to add tests.pro
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.pro27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/tests.pro b/tests/tests.pro
new file mode 100644
index 0000000..6be9b6d
--- /dev/null
+++ b/tests/tests.pro
@@ -0,0 +1,27 @@
+TEMPLATE = app
+
+# The name of your app
+TARGET = tst-harbour-unitmaster
+
+CONFIG += qmltestcase
+
+TARGETPATH = /usr/bin
+target.path = $$TARGETPATH
+
+DEPLOYMENT_PATH = /usr/share/$$TARGET
+qml.path = $$DEPLOYMENT_PATH
+
+extra.path = $$DEPLOYMENT_PATH
+extra.files = runTestsOnDevice.sh
+
+# defining QUICK_TEST_SOURCE_DIR here doesn't work QtCreator keeps injecting another definition to command line (from CONFIG += qmltestcase ?)
+#DEFINES += QUICK_TEST_SOURCE_DIR=\"\\\"\"$${DEPLOYMENT_PATH}/\"\\\"\"
+DEFINES += DEPLOYMENT_PATH=\"\\\"\"$${DEPLOYMENT_PATH}/\"\\\"\"
+
+# C++ sources
+SOURCES += main.cpp
+
+INSTALLS += target qml extra
+
+# QML files and folders
+qml.files = *.qml