#3634 Regression Test : Use flag to control OpenMP when building geometry

This commit is contained in:
Magne Sjaastad committed 2018-11-12 07:33:08 +01:00
1 parent ca07e710c6
commit cfbbcacc23
7 files changed
+91 -45

No files matched your search

@@ -630,6 +630,8 @@ void RiaRegressionTestRunner::executeRegressionTests(const QString& regressionTe
mainWnd->setDefaultWindowSize();
m_regressionTestSettings.readSettingsFromApplicationStore();
m_rootPath = regressionTestPath;
m_testFilter = testFilter;
runRegressionTest();
@@ -646,6 +648,16 @@ bool RiaRegressionTestRunner::isRunningRegressionTests() const
return m_runningRegressionTests;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RiaRegressionTestRunner::useOpenMPForGeometryCreation() const
{
if (!m_runningRegressionTests) return false;
return m_regressionTestSettings.useOpenMPForGeometryCreation;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------