mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-05-18 20:39:36 +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() {
|
void tstMain::cleanupTestCase() {
|
||||||
QDir qt("./test");
|
QDir qt("./test");
|
||||||
qt.removeRecursively();
|
qt.removeRecursively();
|
||||||
|
auto originalPath = qgetenv("CQT_TEST_ORIGINAL_PATH");
|
||||||
|
if (!originalPath.isEmpty()) {
|
||||||
|
qputenv("PATH", originalPath);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user