aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qttest.pri
blob: b2d95f31bb90ae8d2dde3ed82efe745155afd618 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
include(../../qtcreator.pri)
include(qttestrpath.pri)

isEmpty(TEMPLATE):TEMPLATE=app
CONFIG += qt warn_on console depend_includepath testcase qtestlib
CONFIG -= app_bundle

# prefix test binary with tst_
!contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")

win32 {
    lib = $$IDE_LIBRARY_PATH;$$IDE_PLUGIN_PATH/QtProject
    lib ~= s,/,\\,g
    # the below gets added to later by testcase.prf
    check.commands = cd . & set PATH=$$lib;%PATH%& cmd /c
}