New test case compilation
Joel Sherrill
joel.sherrill at OARcorp.com
Mon Aug 20 12:45:02 UTC 2012
Did you run bootstrap in the directory you edited configure.ac?
Also if you keep a buld tree configured with --enable-maintainer-mode, it will regenerate for you. That should be sufficient for adding a test but it gets confused sometimes.
Look at the options to do_coverage. I recall an option to not clean things up. Then you can do a make manually in the b-XXX tree, run the single new test by hand with coverage enabled on the simulator invocation, and then run do_coverage with arguments to only generate reports. That speeds the process a LOT!!
--joel
Krzysztof Mięsowicz <krzysztof.miesowicz at gmail.com> wrote:
>Hi,
>
>I am trying to build new test case. I wrote the code and added its location to rtems/testsuites/sptests/Makefie.am and rtems/testsuites/sptests/configure.ac<http://configure.ac>. Then I have tried to build all as a part of do_coverage script, but build failed. Then I tried to build only it with i386-rtems4.11-gcc but it can't find header files. I am new to RTEMS and I know that it is probably simple thing but can anyone tell me how to build only this test or how to include it in all tests building?
>
>Thanks in advance,
>
>Krzysiek Miesowicz
More information about the devel
mailing list