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