fix tests log

This commit is contained in:
Andrei Yankovich 2022-10-07 11:06:23 +03:00
parent 3952fc06c9
commit 26eef5ae25
2 changed files with 7 additions and 5 deletions

View File

@ -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}")

View File

@ -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";