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:
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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user