Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit 6d02154

Browse files
rfrankeOpenModelica-Hudson
authored andcommitted
Accept -alarm and -abortSlowSimulation for nightly tests
1 parent 599e0f6 commit 6d02154

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SimulationRuntime/cpp/SimCoreFactory/OMCFactory/OMCFactory.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,13 +378,15 @@ vector<const char *> OMCFactory::handleComplexCRuntimeArguments(int argc, const
378378
void OMCFactory::fillArgumentsToIgnore()
379379
{
380380
_argumentsToIgnore = unordered_set<string>();
381+
_argumentsToIgnore.insert("-abortSlowSimulation"); // used by nightly tests
381382
}
382383

383384
void OMCFactory::fillArgumentsToReplace()
384385
{
385386
_argumentsToReplace = map<string, string>();
386387
_argumentsToReplace.insert(pair<string,string>("-r", "-F"));
387388
_argumentsToReplace.insert(pair<string,string>("-w", "-V all=warning"));
389+
_argumentsToReplace.insert(pair<string,string>("-alarm", "--alarm"));
388390
_argumentsToReplace.insert(pair<string,string>("-emit_protected", "--emit-results all"));
389391
}
390392

0 commit comments

Comments
 (0)