Hi Bill,

test.openmodelica.org runs the perlscript in testsuite/partest/

To be specific, it runs:
ulimit -t 600
# hudson is the username
rm -rf /tmp/omc-rtest-hudson/
cd OpenModelica
# To store the database between jobs... It picks the most expensive
# test first in order to finish the parallel task quicker
mkdir -p /var/lib/hudson/hudson/userContent/runtest-gcc/
cp -f /var/lib/hudson/userContent/runtest-gcc/runtest.db.dir /var/lib/hudson/userContent/runtest-gcc/runtest.db.pag testsuite/
cd testsuite/partest
# nocolour because hudson is not a terminal with colours
# with-xml for jUnit xml formatted logs... makes hudson prettier
time ./runtests.pl -nocolour -with-xml
# ...
cp ../runtest.db.dir ../runtest.db.pag /var/lib/hudson/userContent/runtest-gcc/

I do believe most of the bootstrapping tests do not run on OSX. This is as incompatibility with the libraries. It links the wrong objects together (Linux/Windows works). It's not a very big deal since in the bootstrapped compiler the should work. It's just these tests use dynamic loading...

runtests.pl returns a nice:
Failed tests:
        
./simulation/libraries/msl32/Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.mos
        
./simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Constraints.ConstrainUniversalJoint.mos
        
./simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.mos
        
./simulation/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.mos
        ./simulation/modelica/parallel/ParallelPRV.mos

With that complete list I could give a better response if the result was as expected or not (I haven't run the testsuite on OSX for many months since my Mac Mini is so slow compared to our Linux machines. I might even install Linux on it since it's so much nicer for server administration).

--
Martin Sjölund

On 04/04/2013 06:20 PM, Bill Janssen wrote:
I want to set up a test server to run all the Modelica tests on my Open
Modelica installation, just as test.openmodelica.org does.  So I looked
in testsuite, read the README, and tried this:

[/local/open-modelica/src/testsuite] % make
make -C difftool
make[1]: `../../build/bin/omc-diff' is up to date.
make -C openmodelica/bootstrapping -f Makefile test > bootstrapping.log
sh: line 1: 66962 Segmentation fault      /local/open-modelica/src/build/bin/omc -- 
--running-testsuite=rtest66956.3QM4Z.tmpDebugTest.mos +locale=C +g=MetaModelica +d=rml 
DebugTest.mos >> /tmp/omc-rtest-wjanssen/openmodelica/bootstrapping/log-DebugTest.mos 
2>&1
sh: line 1: 67008 Segmentation fault      /local/open-modelica/src/build/bin/omc -- 
--running-testsuite=rtest66956.3QM4Z.tmpDumpTest.mos +locale=C DumpTest.mos >> 
/tmp/omc-rtest-wjanssen/openmodelica/bootstrapping/log-DumpTest.mos 2>&1
sh: line 1: 67040 Segmentation fault      /local/open-modelica/src/build/bin/omc -- 
--running-testsuite=rtest66956.3QM4Z.tmpGraphTest.mos +locale=C +g=MetaModelica +d=rml 
GraphTest.mos >> /tmp/omc-rtest-wjanssen/openmodelica/bootstrapping/log-GraphTest.mos 
2>&1
sh: line 1: 67073 Segmentation fault      /local/open-modelica/src/build/bin/omc -- 
--running-testsuite=rtest66956.3QM4Z.tmpHashTableTest.mos +locale=C HashTableTest.mos 
>> /tmp/omc-rtest-wjanssen/openmodelica/bootstrapping/log-HashTableTest.mos 2>&1

And so forth.  This can't be good.  What am I doing wrong?  There's
nothing interesting in any of the log files.

Bill


Reply via email to