4
1
mirror of https://github.com/QuasarApp/CQtDeployer.git synced 2025-05-06 06:29:35 +00:00

24 lines
690 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
}
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
changePWD.commands = export PWD=$PWD/TestingDir
2019-05-15 14:56:38 +03:00
test.depends = deployTest
2019-09-14 15:51:23 +03:00
unix:test.commands = $$PWD/deployTests/UnitTests.sh -maxwarnings 100000
win32:test.commands = $$PWD/deployTests/UnitTests.exe -maxwarnings 100000
2019-09-15 21:47:19 +03:00
unix:test.depends = changePWD
2019-05-15 14:56:38 +03:00
QMAKE_EXTRA_TARGETS += \
deployTest \
2019-09-15 21:47:19 +03:00
test \
changePWD
2019-09-11 18:09:37 +03:00