mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-27 18:24:33 +00:00
Merge branch 'v1.3' into v1.4
This commit is contained in:
commit
753d6adecc
@ -113,7 +113,12 @@ bool MetaFileManager::createRunScript(const QString &target) {
|
||||
return createRunScriptWindows(target);
|
||||
}
|
||||
|
||||
return createRunScriptLinux(target);
|
||||
if (sufix.isEmpty()) {
|
||||
return createRunScriptLinux(target);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
bool MetaFileManager::createQConf() {
|
||||
|
@ -993,6 +993,10 @@ void deploytest::testConfFile() {
|
||||
QVERIFY(QFile::exists(TestBinDir + "/TestConf.json"));
|
||||
QFile::remove(TestBinDir + "/TestConf.json");
|
||||
|
||||
comapareTree -= utils.createTree(
|
||||
{"./" + DISTRO_DIR + "/bin/quicknanobrowser",
|
||||
"./" + DISTRO_DIR + "/quicknanobrowser.sh"});
|
||||
|
||||
#ifdef Q_OS_UNIX
|
||||
runTestParams({"-bin", TestBinDir + "TestOnlyC," + TestBinDir + "QtWidgetsProject," + TestBinDir + "TestQMLWidgets",
|
||||
"clear", "noAutoCheckQmake",
|
||||
@ -1082,6 +1086,7 @@ void deploytest::testConfFile() {
|
||||
QVERIFY(data.contains("./../../../../../build/TestQMLWidgets"));
|
||||
|
||||
QVERIFY(data.contains("\"clear\": true"));
|
||||
QString qmake = TestQtDir + "bin/qmake";
|
||||
|
||||
#else
|
||||
|
||||
@ -1091,6 +1096,7 @@ void deploytest::testConfFile() {
|
||||
QVERIFY(data.contains("./../../../../../build/TestQMLWidgets.exe"));
|
||||
|
||||
QVERIFY(data.contains("\"clear\": true"));
|
||||
QString qmake = TestQtDir + "bin/qmake.exe";
|
||||
|
||||
#endif
|
||||
runTestParams({"-confFile", TestBinDir + "/../folder/For/Testing/Deploy/File/TestConf.json"}, &comapareTree);
|
||||
@ -1098,6 +1104,17 @@ void deploytest::testConfFile() {
|
||||
QVERIFY(QuasarAppUtils::Params::isEndable("clear"));
|
||||
QVERIFY(QuasarAppUtils::Params::isEndable("bin"));
|
||||
|
||||
comapareTree += Modules::qtLibs();
|
||||
comapareTree += Modules::qmlLibs();
|
||||
|
||||
runTestParams({"-confFile", TestBinDir + "/../folder/For/Testing/Deploy/File/TestConf.json",
|
||||
"-qmake", qmake,
|
||||
"-qmlDir", TestBinDir + "/../TestQMLWidgets",
|
||||
}, &comapareTree);
|
||||
|
||||
QVERIFY(QuasarAppUtils::Params::isEndable("clear"));
|
||||
QVERIFY(QuasarAppUtils::Params::isEndable("bin"));
|
||||
|
||||
QFile::remove(TestBinDir + "/../folder/For/Testing/Deploy/File/TestConf.json");
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user