Skip to content

Commit

Permalink
tests_common.pri: respect custom target suffix
Browse files Browse the repository at this point in the history
Allows parallel installation with tests enabled.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
  • Loading branch information
mtdcr committed Mar 11, 2014
1 parent 498a329 commit bf62aa0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/tests_common.pri
@@ -1,10 +1,7 @@

equals(QT_MAJOR_VERSION, 4): {
INSTALL_TESTDIR = /opt/tests/connman-qt
isEmpty(TARGET_SUFFIX) {
TARGET_SUFFIX = qt$$QT_MAJOR_VERSION
}

equals(QT_MAJOR_VERSION, 5): {
INSTALL_TESTDIR = /opt/tests/connman-qt5
}
INSTALL_TESTDIR = /opt/tests/connman-$$TARGET_SUFFIX

INSTALL_TESTDATADIR = $${INSTALL_TESTDIR}/data

0 comments on commit bf62aa0

Please sign in to comment.