mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
RegTestRunner : remove test generated folder
This commit is contained in:
@@ -216,6 +216,12 @@ void RiaRegressionTestRunner::runRegressionTest(const QString& testRootPath, con
|
|||||||
QFileInfoList commandFileEntries = testCaseFolder.entryInfoList(filterList);
|
QFileInfoList commandFileEntries = testCaseFolder.entryInfoList(filterList);
|
||||||
if (!commandFileEntries.empty())
|
if (!commandFileEntries.empty())
|
||||||
{
|
{
|
||||||
|
{
|
||||||
|
QString generatedFilesFolderName = testCaseFolder.filePath(RegTestNames::generatedFilesFolderName);
|
||||||
|
QDir genDir(generatedFilesFolderName);
|
||||||
|
removeDirectoryWithContent(genDir);
|
||||||
|
}
|
||||||
|
|
||||||
QString currentApplicationPath = QDir::current().absolutePath();
|
QString currentApplicationPath = QDir::current().absolutePath();
|
||||||
|
|
||||||
// Set current path to the folder containing the command file, as this is required when using file references
|
// Set current path to the folder containing the command file, as this is required when using file references
|
||||||
|
|||||||
Reference in New Issue
Block a user