summaryrefslogtreecommitdiffstats
path: root/tests/testcommon.pri
blob: 85cf2c4b9dc0f51926f942a17f6d086acc3f6d9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
include (testlibs/testlibs.pri)

!gtest_own_main: SOURCES += $$PWD/testlibs/testmain.cpp

CONFIG += testcase
CONFIG += c++11

QT += testlib

TARGET = tst_$$TESTNAME

DEFINES += TEST_NAME=$$TARGET

# if there is a common directory above the test, include it
exists ($$OUT_PWD/../common/common.pri) {
    include ($$OUT_PWD/../common/common.pri)
}