summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel/qsystemsemaphore/test/test.pro
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@digia.com>2012-11-07 10:05:06 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-07 14:19:00 +0100
commit6a2e965a3413636d7ed2b68ea084f9853a8d1e26 (patch)
tree437e9dfa6e982cb0569816e52caea4f5415bc4ad /tests/auto/corelib/kernel/qsystemsemaphore/test/test.pro
parent285f4daa4757dfb88a27c6570861e8b9f453eaf4 (diff)
Fixed QSystemSemaphore autotest for "check" target
As CI runs autotests using the "check" target the approach using DESTDIR = ../ does not work for the test. Instead the binaries are just moved one directory up and QFINDTESTDATA is used to find the path of the helper binary. Change-Id: If1ed2b60821f1de4ac62f238c8af5e09cf0f444a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'tests/auto/corelib/kernel/qsystemsemaphore/test/test.pro')
-rw-r--r--tests/auto/corelib/kernel/qsystemsemaphore/test/test.pro10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/auto/corelib/kernel/qsystemsemaphore/test/test.pro b/tests/auto/corelib/kernel/qsystemsemaphore/test/test.pro
index cc76b2c233..a0f63741d3 100644
--- a/tests/auto/corelib/kernel/qsystemsemaphore/test/test.pro
+++ b/tests/auto/corelib/kernel/qsystemsemaphore/test/test.pro
@@ -7,4 +7,12 @@ mac:CONFIG -= app_bundle
SOURCES += tst_qsystemsemaphore.cpp
TARGET = tst_qsystemsemaphore
-DESTDIR = ../
+CONFIG(debug_and_release) {
+ CONFIG(debug, debug|release) {
+ DESTDIR = ../debug
+ } else {
+ DESTDIR = ../release
+ }
+} else {
+ DESTDIR = ..
+}