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

restore path after test

This commit is contained in:
Andrei Yankovich 2022-10-22 17:48:37 +03:00
parent a9be3b03cb
commit 1960729de9

@ -229,7 +229,10 @@ void tstMain::initTestCase() {
void tstMain::cleanupTestCase() {
QDir qt("./test");
qt.removeRecursively();
auto originalPath = qgetenv("CQT_TEST_ORIGINAL_PATH");
if (!originalPath.isEmpty()) {
qputenv("PATH", originalPath);
}
}
/**