Re: Problem with tests
| Newsgroups | gmane.science.robotics.orocos.user |
|---|---|
| Organization | KU Leuven |
| Message-ID | <[email protected]> |
On Monday 20 January 2003 12:48, [email protected] wrote: > When we launch 'make check' we can see: make check requires that all needed rtai modules are loaded. rtai_fifos was aparantly not loaded in this case. next, i'll have to update the docs so that libm support must be enabled in rtai such that your asin problems are solved too. The module you need is called "rtai_libm" > You are root > ./TestCore-rt.o: unresolved symbol __ls__Q29StoneHead6streaml > ./TestCore-rt.o: > rmmod: module TestCore-rt is not loaded This one puzzels me for now, but i'll check it out why it doesn't work for you... The fault is that StoneHead::stream operator<<(long); is missing. > FAIL: TestCore-rt.sh > PASS: testunload.sh > ==================== > 3 of 11 tests failed > ==================== > make[2]: *** [check-TESTS] Error 1 > make[2]: Leaving directory `/root/prova/orocos/core/build/tests' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory `/root/prova/orocos/core/build/tests' > make: *** [check-recursive] Error 1 > > Why? Where we are wrong? Does a test in real-time consists only in load and > unload modules in the kern basically, yes. The test executes its functionality in init_module(). if init_module fails (fails to load), the test fails. Next there is the TestCore-rt test which is more advanced and tests things outside init_module(). It provides its own output to notify if it succeeded or not. > tput of 'lsmod' (before 'modprobe > orocos_core_run-rt'): > > Module > rtai_fifos > rtai_pthread > rtai_utils > rtai_cpp > rtai_sched_ext > rtai_bits > rtai_lxrt > rtai_tbx > rtai_sched > rt_mem_mgr > rtai make sure all these modules are always loaded when you want to run orocos/tests in rtai. Peter