Skip to content

Commit

Permalink
- fixed some test with failure "unknown testcase status" by reorderin…
Browse files Browse the repository at this point in the history
…g them in the makefile

- removed the max counter of 5 that is part of the simulateAll-script
  • Loading branch information
Marcus Walther committed Aug 7, 2015
1 parent ce91f7c commit ca2d534
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
4 changes: 2 additions & 2 deletions openmodelica/cppruntime/Makefile
@@ -1,10 +1,10 @@
TEST = ../../rtest -v

TESTFILES = \
tearnonlin1.mos \
WhenStatement1.mos \
BouncingBall.mos \
solveTest.mos \
tearnonlin1.mos
solveTest.mos

FAILINGTESTFILES=

Expand Down
6 changes: 3 additions & 3 deletions openmodelica/cppruntime/hpcom/Makefile
@@ -1,11 +1,11 @@
TEST = ../../../rtest -v

TESTFILES = \
Modelica.Electrical.Analog.Examples.CauerLowPassSC_levelfix_pthreads_memory.mos \
Modelica.Electrical.Analog.Examples.CauerLowPassSC_level_omp_measureTime.mos \
Modelica.Electrical.Spice3.Examples.CoupledInductors_level_omp.mos \
Modelica.Electrical.Spice3.Examples.CoupledInductors_list_pthreads_spin.mos \
Modelica.Electrical.Analog.Examples.CauerLowPassSC_levelfix_pthreads_memory.mos \
Modelica.Thermal.HeatTransfer.Examples.Motor_mcp_omp.mos \
Modelica.Electrical.Analog.Examples.CauerLowPassSC_level_omp_measureTime.mos
Modelica.Thermal.HeatTransfer.Examples.Motor_mcp_omp.mos

TESTFILES_ALL = $(TESTFILES_SERIAL) $(TESTFILES_LEVELFIX) $(TESTFILES_LEVEL) $(TESTFILES_METIS) $(TESTFILES_LIST) $(TESTFILES_LISTR) $(TESTFILES_TBB) $(TESTFILES_MCP)

Expand Down
9 changes: 5 additions & 4 deletions simulation/libraries/msl32/simulateAll.sh
@@ -1,5 +1,6 @@
#!/bin/bash
OMC="${OPENMODELICAHOME}/bin/omc +locale=C +running-testsuite=dummy.out +d=hpcom +n=2"
#OMC="${OPENMODELICAHOME}/bin/omc +locale=C +running-testsuite=dummy.out"
echo $OMC
COUNTER=0
for f in *.mos; do
Expand All @@ -16,10 +17,10 @@ for f in *.mos; do
echo "- OK"
fi
fi
COUNTER=$((COUNTER+1))
if [ $COUNTER -gt 5 ]; then
break
fi
#COUNTER=$((COUNTER+1))
#if [ $COUNTER -gt 5 ]; then
# break
#fi
done

python sortResults.py > results.txt
2 changes: 1 addition & 1 deletion simulation/modelica/hpcom/Makefile
Expand Up @@ -7,7 +7,7 @@ SimpleResistor.mos \
ElectricalCircuit.mos \
MergingExample.mos \
BouncingBall.mos \
Modelica.Blocks.Examples.BooleanNetwork1 \
Modelica.Blocks.Examples.BooleanNetwork1.mos \
Modelica.Blocks.Examples.InverseModel.mos \
Modelica.Electrical.Analog.Examples.SwitchWithArc.mos \
Modelica.Electrical.Spice3.Examples.Graetz.mos \
Expand Down
@@ -1,7 +1,7 @@
// name: Modelica.Fluid.Examples.BranchingDynamicPipes
// keywords: simulation MSL Examples
// status: correct
// depends: Modelica.Fluid.Examples.BranchingDynamicPipes_eqs_prof.json
// name: Modelica.Blocks.Examples.BooleanNetwork1
// keywords: hpcom
// status: correct
// depends: Modelica.Blocks.Examples.BooleanNetwork1_eqs_prof.json
//
// Simulation Results
// Modelica Standard Library
Expand Down

0 comments on commit ca2d534

Please sign in to comment.