mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-05-06 22:49:35 +00:00
fix tests log
This commit is contained in:
parent
3952fc06c9
commit
26eef5ae25
@ -33,5 +33,7 @@ target_include_directories(${CURRENT_PROJECT} PUBLIC ${PUBLIC_INCUDE_DIR})
|
|||||||
|
|
||||||
|
|
||||||
initTests()
|
initTests()
|
||||||
addTests(${PROJECT_NAME} ${CURRENT_PROJECT})
|
|
||||||
|
SET(QT_TEST_EXTRA_ARGS -maxwarnings 0)
|
||||||
|
addTestsArg(${PROJECT_NAME} ${CURRENT_PROJECT} "${QT_TEST_EXTRA_ARGS}")
|
||||||
|
|
||||||
|
@ -18,14 +18,14 @@ void SystemLibTest::test() {
|
|||||||
TestUtils utils;
|
TestUtils utils;
|
||||||
|
|
||||||
#ifdef Q_OS_UNIX
|
#ifdef Q_OS_UNIX
|
||||||
QString bin = TestBinDir + "TestOnlyC";
|
QString bin = TestBinDir + "TestCPPOnly";
|
||||||
QString qmake = TestQtDir + "bin/qmake";
|
QString qmake = TestQtDir + "bin/qmake";
|
||||||
|
|
||||||
auto comapareTree = utils.createTree(
|
auto comapareTree = utils.createTree(
|
||||||
{
|
{
|
||||||
"./" + DISTRO_DIR + "/TestOnlyC.sh",
|
"./" + DISTRO_DIR + "/TestCPPOnly.sh",
|
||||||
"./" + DISTRO_DIR + "/bin/qt.conf",
|
"./" + DISTRO_DIR + "/bin/qt.conf",
|
||||||
"./" + DISTRO_DIR + "/bin/TestOnlyC",
|
"./" + DISTRO_DIR + "/bin/TestCPPOnly",
|
||||||
"./" + DISTRO_DIR + "/lib/systemLibs/libgcc_s.so",
|
"./" + DISTRO_DIR + "/lib/systemLibs/libgcc_s.so",
|
||||||
"./" + DISTRO_DIR + "/lib/systemLibs/libstdc++.so"
|
"./" + DISTRO_DIR + "/lib/systemLibs/libstdc++.so"
|
||||||
});
|
});
|
||||||
@ -54,7 +54,7 @@ void SystemLibTest::test() {
|
|||||||
runTestParams({"-bin", bin, "clear" ,
|
runTestParams({"-bin", bin, "clear" ,
|
||||||
"deploySystem",
|
"deploySystem",
|
||||||
"-qmake", qmake,
|
"-qmake", qmake,
|
||||||
}, &comapareTree);
|
}, &comapareTree, true);
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
bin = TestBinDir + "QtWidgetsProject.exe";
|
bin = TestBinDir + "QtWidgetsProject.exe";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user