From 94e2fe8c5a964cc3ad4abe6eb80f795edd649948 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 2 Apr 2015 20:43:33 +0300 Subject: [PATCH] Disable installation tests. --HG-- branch : develop --- src/test/ValentinaTest/ValentinaTest.pro | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/src/test/ValentinaTest/ValentinaTest.pro b/src/test/ValentinaTest/ValentinaTest.pro index 6dd9131f3..842767403 100644 --- a/src/test/ValentinaTest/ValentinaTest.pro +++ b/src/test/ValentinaTest/ValentinaTest.pro @@ -9,18 +9,26 @@ QT += testlib QT -= gui TARGET = tst_test -CONFIG += console -CONFIG -= app_bundle + +# CONFIG += testcase adds a 'make check' which is great. But by default it also +# adds a 'make install' that installs the test cases, which we do not want. +# Can configure it not to do that with 'no_testcase_installs' +# We use C++11 standard +CONFIG += c++11 testcase no_testcase_installs + +# Use out-of-source builds (shadow builds) +CONFIG -= app_bundle debug_and_release debug_and_release_target TEMPLATE = app -# Use out-of-source builds (shadow builds) -CONFIG -= debug_and_release debug_and_release_target +# directory for executable file +DESTDIR = bin -# We use C++11 standard -CONFIG += c++11 +# Directory for files created moc +MOC_DIR = moc -CONFIG += testcase +# objecs files +OBJECTS_DIR = obj DEFINES += SRCDIR=\\\"$$PWD/\\\"