Skip to content

Commit

Permalink
use --alarm=900 for all tests to avoid hangs
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed May 26, 2016
1 parent ec4c1c7 commit bc03c8e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rtest
Expand Up @@ -4,9 +4,9 @@ use File::Temp qw/ tempfile /;

#delete($ENV{'OPENMODELICALIBRARY'});
if (defined $ENV{"RTEST_OMCFLAGS"}) {
$omcflags=$ENV{"RTEST_OMCFLAGS"};
$omcflags=$ENV{"RTEST_OMCFLAGS"} . " --alarm=900";
} else {
$omcflags="";
$omcflags="--alarm=900";
}

(undef,$testTempFile) = tempfile("rtest$$.XXXXX", TMPDIR => 1, SUFFIX => ".tmp", UNLINK => 1);
Expand Down
Expand Up @@ -100,7 +100,7 @@ res := OpenModelica.Scripting.compareSimulationResults("Modelica.Fluid.Examples.
"pipe4.flowModel.m_flows[5]"});

// Result:
// 0
// 900
// true
// true
// ""
Expand Down
2 changes: 1 addition & 1 deletion simulation/modelica/nonlinear_system/problem2_symjac.mos
Expand Up @@ -21,7 +21,7 @@ val(x[10],{0.0,1.0,2.0});
val(y,{0.0,1.0,2.0});

// Result:
// 0
// 900
// true
// ""
// true
Expand Down

0 comments on commit bc03c8e

Please sign in to comment.