summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2018-03-20 11:54:53 +0100
committerRobert Griebl <robert.griebl@pelagicore.com>2018-03-20 17:18:18 +0000
commitf3dfd4e6c846e7b0d406d898a1cf8b7a766f59eb (patch)
tree8c3bde0103fa14441545002cf6329526d5e68c04
parentfa75b4abb876850de408869c0266ba296f9b987b (diff)
downloadqtivi-f3dfd4e6c846e7b0d406d898a1cf8b7a766f59eb.tar.gz
Use QMAKE_PROJECT_NAME to mark all test executables for QtCreator
QtCreator uses the pro file name for selecting a runnable target. In this list it's not easy to spot which executables are autotest and which are real runnable tools/examples. Adding QMAKE_PROJECT_NAME to all autotests pro files makes sure they are prefixed with tst_ as the excutable itself is as well. Change-Id: I13f21e14eccb392e4bfd14124ce483720a1f22ac Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
-rw-r--r--tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/test/test.pro1
-rw-r--r--tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/validator/validator.pro5
-rw-r--r--tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/server_qtro_test.pro1
-rw-r--r--tests/auto/core/ivigenerator/projects/org-example-echo/test/test.pro1
-rw-r--r--tests/auto/core/ivigenerator/projects/org-example-echo/validator/validator.pro5
-rw-r--r--tests/auto/core/qiviabstractfeature/qiviabstractfeature.pro1
-rw-r--r--tests/auto/core/qivipendingreply/qivipendingreply.pro1
-rw-r--r--tests/auto/core/qiviproperty/qiviproperty.pro1
-rw-r--r--tests/auto/core/qivipropertyattribute/qivipropertyattribute.pro1
-rw-r--r--tests/auto/core/qivisearchandbrowsemodel/qivisearchandbrowsemodel.pro1
-rw-r--r--tests/auto/core/queryparser/queryparser.pro1
-rw-r--r--tests/auto/dlt/dlt.pro1
-rw-r--r--tests/auto/vehiclefunctions/basic/basic.pro1
13 files changed, 17 insertions, 4 deletions
diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/test/test.pro b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/test/test.pro
index f30a1c4..16bbead 100644
--- a/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/test/test.pro
+++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/test/test.pro
@@ -1,4 +1,5 @@
TARGET = tst_org-example-echo-noprivate
+QMAKE_PROJECT_NAME = $$TARGET
DESTDIR = ../
QT += testlib core ivicore
diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/validator/validator.pro b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/validator/validator.pro
index 5cdce3e..4ee6345 100644
--- a/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/validator/validator.pro
+++ b/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/validator/validator.pro
@@ -1,5 +1,6 @@
-TEMPLATE=app
-TARGET = validator-check
+TEMPLATE = app
+TARGET = validator_org-example-echo-noprivate
+QMAKE_PROJECT_NAME = $$TARGET
LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_noprivate_frontend)
DESTDIR = ..
diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/server_qtro_test.pro b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/server_qtro_test.pro
index ee6e127..8a8ee55 100644
--- a/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/server_qtro_test.pro
+++ b/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/server_qtro_test.pro
@@ -1,4 +1,5 @@
TARGET = tst_org-example-echo-qtro
+QMAKE_PROJECT_NAME = $$TARGET
QT -= gui
QT += testlib ivicore
LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_frontend)
diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo/test/test.pro b/tests/auto/core/ivigenerator/projects/org-example-echo/test/test.pro
index 17cfdd7..41376a1 100644
--- a/tests/auto/core/ivigenerator/projects/org-example-echo/test/test.pro
+++ b/tests/auto/core/ivigenerator/projects/org-example-echo/test/test.pro
@@ -1,4 +1,5 @@
TARGET = tst_org-example-echo
+QMAKE_PROJECT_NAME = $$TARGET
DESTDIR = ../
QT += testlib core ivicore
diff --git a/tests/auto/core/ivigenerator/projects/org-example-echo/validator/validator.pro b/tests/auto/core/ivigenerator/projects/org-example-echo/validator/validator.pro
index 52ed4d3..122db41 100644
--- a/tests/auto/core/ivigenerator/projects/org-example-echo/validator/validator.pro
+++ b/tests/auto/core/ivigenerator/projects/org-example-echo/validator/validator.pro
@@ -1,5 +1,6 @@
-TEMPLATE=app
-TARGET = validator-check
+TEMPLATE = app
+TARGET = validator_org-example-echo
+QMAKE_PROJECT_NAME = $$TARGET
LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_frontend)
DESTDIR = ..
diff --git a/tests/auto/core/qiviabstractfeature/qiviabstractfeature.pro b/tests/auto/core/qiviabstractfeature/qiviabstractfeature.pro
index d185485..4b6c8d2 100644
--- a/tests/auto/core/qiviabstractfeature/qiviabstractfeature.pro
+++ b/tests/auto/core/qiviabstractfeature/qiviabstractfeature.pro
@@ -1,6 +1,7 @@
QT += testlib ivicore ivicore-private qml
TARGET = tst_qiviabstractfeature
+QMAKE_PROJECT_NAME = $$TARGET
CONFIG += testcase
TEMPLATE = app
diff --git a/tests/auto/core/qivipendingreply/qivipendingreply.pro b/tests/auto/core/qivipendingreply/qivipendingreply.pro
index 62ac9a4..bc9eea9 100644
--- a/tests/auto/core/qivipendingreply/qivipendingreply.pro
+++ b/tests/auto/core/qivipendingreply/qivipendingreply.pro
@@ -1,6 +1,7 @@
QT += testlib ivicore qml
TARGET = tst_qiviasyncreply
+QMAKE_PROJECT_NAME = $$TARGET
CONFIG += testcase
TEMPLATE = app
diff --git a/tests/auto/core/qiviproperty/qiviproperty.pro b/tests/auto/core/qiviproperty/qiviproperty.pro
index cb4f329..7105bda 100644
--- a/tests/auto/core/qiviproperty/qiviproperty.pro
+++ b/tests/auto/core/qiviproperty/qiviproperty.pro
@@ -1,6 +1,7 @@
QT += testlib ivicore qml
TARGET = tst_qiviproperty
+QMAKE_PROJECT_NAME = $$TARGET
CONFIG += testcase
TEMPLATE = app
diff --git a/tests/auto/core/qivipropertyattribute/qivipropertyattribute.pro b/tests/auto/core/qivipropertyattribute/qivipropertyattribute.pro
index bd99816..65a8033 100644
--- a/tests/auto/core/qivipropertyattribute/qivipropertyattribute.pro
+++ b/tests/auto/core/qivipropertyattribute/qivipropertyattribute.pro
@@ -1,6 +1,7 @@
QT += testlib ivicore
TARGET = tst_qivipropertyattribute
+QMAKE_PROJECT_NAME = $$TARGET
CONFIG += testcase
TEMPLATE = app
diff --git a/tests/auto/core/qivisearchandbrowsemodel/qivisearchandbrowsemodel.pro b/tests/auto/core/qivisearchandbrowsemodel/qivisearchandbrowsemodel.pro
index 53e4c90..a83aafd 100644
--- a/tests/auto/core/qivisearchandbrowsemodel/qivisearchandbrowsemodel.pro
+++ b/tests/auto/core/qivisearchandbrowsemodel/qivisearchandbrowsemodel.pro
@@ -1,6 +1,7 @@
QT += testlib ivicore quick
TARGET = tst_qivisearchandbrowsemodel
+QMAKE_PROJECT_NAME = $$TARGET
CONFIG += testcase
TEMPLATE = app
diff --git a/tests/auto/core/queryparser/queryparser.pro b/tests/auto/core/queryparser/queryparser.pro
index b5f9210..fe227c3 100644
--- a/tests/auto/core/queryparser/queryparser.pro
+++ b/tests/auto/core/queryparser/queryparser.pro
@@ -1,6 +1,7 @@
QT += testlib ivicore ivicore-private qml
TARGET = tst_queryparser
+QMAKE_PROJECT_NAME = $$TARGET
CONFIG += testcase
TEMPLATE = app
diff --git a/tests/auto/dlt/dlt.pro b/tests/auto/dlt/dlt.pro
index 8467358..2b0c6fb 100644
--- a/tests/auto/dlt/dlt.pro
+++ b/tests/auto/dlt/dlt.pro
@@ -1,6 +1,7 @@
QT += testlib geniviextras
TARGET = tst_dlt
+QMAKE_PROJECT_NAME = $$TARGET
CONFIG += testcase
QMAKE_USE += dlt
diff --git a/tests/auto/vehiclefunctions/basic/basic.pro b/tests/auto/vehiclefunctions/basic/basic.pro
index f67bb18..512434c 100644
--- a/tests/auto/vehiclefunctions/basic/basic.pro
+++ b/tests/auto/vehiclefunctions/basic/basic.pro
@@ -1,4 +1,5 @@
TARGET = tst_basic
+QMAKE_PROJECT_NAME = $$TARGET
QT += testlib core ivicore ivivehiclefunctions
CONFIG += c++11 ivigenerator testcase