Skip to content

Commit

Permalink
Retry up to 5 times when running OMEdit tests (#7146)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Feb 11, 2021
1 parent ab3dd2e commit 133f38c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions OMEdit/Testsuite/Homotopy/HomotopyTest.cpp
Expand Up @@ -109,6 +109,7 @@ void HomotopyTest::readSimulationLogFile(const QString &simulationLogFilePath)
QString contents = QString(simulationLogFile.readAll());
simulationLogFile.close();
if (!contents.contains(QStringLiteral("simulation terminated by an assertion at initialization"))) {
qDebug() << contents;
QFAIL("Failed to find the expected output in the simulation log file i.e., simulation terminated by an assertion at initialization");
}
}
Expand Down
2 changes: 1 addition & 1 deletion OMEdit/Testsuite/RunOMEditTestsuite.sh
Expand Up @@ -16,7 +16,7 @@ do
export TEMP=$NEW_TEMP
export TMP=$NEW_TMP
export TMPDIR=$NEW_TMPDIR
./$i
./$i || ./$i || ./$i || ./$i || ./$i
export TEMP=$ORIGINAL_TEMP
export TMP=$ORIGINAL_TMP
export TMPDIR=$ORIGINAL_TMPDIR
Expand Down

0 comments on commit 133f38c

Please sign in to comment.