mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
RegTest : Add support for execution of a subset of tests
This commit is contained in:
@@ -1587,7 +1587,7 @@ void RiuMainWindow::slotShowRegressionTestDialog()
|
||||
caf::PdmSettings::readFieldsFromApplicationStore(®TestConfig);
|
||||
|
||||
caf::PdmUiPropertyViewDialog regressionTestDialog(this, ®TestConfig, "Regression Test", "");
|
||||
regressionTestDialog.resize(QSize(600, 200));
|
||||
regressionTestDialog.resize(QSize(600, 300));
|
||||
|
||||
if (regressionTestDialog.exec() == QDialog::Accepted)
|
||||
{
|
||||
@@ -1597,7 +1597,10 @@ void RiuMainWindow::slotShowRegressionTestDialog()
|
||||
QString currentApplicationPath = QDir::currentPath();
|
||||
|
||||
QDir::setCurrent(regTestConfig.applicationWorkingFolder);
|
||||
app->executeRegressionTests(regTestConfig.regressionTestFolder);
|
||||
|
||||
QStringList testFilter = regTestConfig.testFilter().split(";", QString::SkipEmptyParts);
|
||||
|
||||
app->executeRegressionTests(regTestConfig.regressionTestFolder, &testFilter);
|
||||
|
||||
QDir::setCurrent(currentApplicationPath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user