45b0f1be68
Macros and the await helper function from qfunctions_winrt(_p).h are needed in other Qt modules which use UWP APIs on desktop windows. Task-number: QTBUG-84434 Change-Id: Ice09c11436ad151c17bdccd2c7defadd08c13925 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
24 lines
552 B
Prolog
24 lines
552 B
Prolog
CONFIG += testcase
|
|
SOURCES += tst_selftests.cpp catch.cpp
|
|
QT = core testlib-private
|
|
|
|
TARGET = tst_selftests
|
|
|
|
win32 {
|
|
CONFIG(debug, debug|release) {
|
|
TARGET = ../debug/tst_selftests
|
|
} else {
|
|
TARGET = ../release/tst_selftests
|
|
}
|
|
}
|
|
|
|
expected_files.files = $$files($$PWD/expected_*)
|
|
expected_files.base = $$PWD
|
|
RESOURCES += expected_files
|
|
|
|
include(selftests.pri)
|
|
DEFINES += SUBPROGRAMS=$$shell_quote($$SUBPROGRAMS)
|
|
!android: for(file, SUBPROGRAMS): TEST_HELPER_INSTALLS += "$${file}/$${file}"
|
|
|
|
include($$QT_SOURCE_TREE/src/testlib/selfcover.pri)
|