CQtDeployer/test.pri

27 lines
675 B
Plaintext
Raw Normal View History

2019-05-15 14:56:38 +03:00
unix:exec = $$PWD/UnitTests/build/release/UnitTests
win32:exec = $$PWD/UnitTests/build/release/UnitTests.exe
2019-06-27 19:41:21 +03:00
QT_DIR= $$[QT_HOST_BINS]
win32:QMAKE_BIN= $$QT_DIR/qmake.exe
contains(QMAKE_HOST.os, Linux):{
QMAKE_BIN= $$QT_DIR/qmake
}
2020-02-04 18:10:25 +03:00
unix:deployTest.commands = cqtdeployer -bin $$exec clear -qmake $$QMAKE_BIN -targetDir $$PWD/deployTests -libDir $$PWD -recursiveDepth 4
2019-05-15 14:56:38 +03:00
2019-09-15 21:47:19 +03:00
2019-05-15 14:56:38 +03:00
test.depends = deployTest
2019-12-31 00:19:44 +03:00
unix:!android:test.commands = $$PWD/deployTests/UnitTests.sh -maxwarnings 100000
2020-02-04 17:56:48 +03:00
#win32:test.commands = $$PWD/deployTests/UnitTests.exe -maxwarnings 100000
2019-05-15 14:56:38 +03:00
2019-12-31 00:19:44 +03:00
contains(QMAKE_HOST.os, Linux):{
win32:test.commands =
}
2020-02-04 17:56:48 +03:00
2019-05-15 14:56:38 +03:00
QMAKE_EXTRA_TARGETS += \
deployTest \
2019-09-16 09:44:19 +03:00
test
2019-09-11 18:09:37 +03:00