summaryrefslogtreecommitdiff
path: root/qtcreator_testvars.pri
blob: cf2e1c1a8c0b2098c6455414b17a0f9f923a639f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
isEmpty(QTCREATOR_TESTVARS_PRI_INCLUDED) {

    QTCREATOR_TESTVARS_PRI_INCLUDED = 1

    QTC_BUILD_TESTS = $$(QTC_BUILD_TESTS)
    !isEmpty(QTC_BUILD_TESTS):TEST = $$QTC_BUILD_TESTS

    !isEmpty(BUILD_TESTS):TEST = 1

    isEmpty(TEST):CONFIG(debug, debug|release) {
        !debug_and_release|build_pass {
            TEST = 1
        }
    }

}