Building RTEMS without test samples

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Tue Sep 27 12:03:28 UTC 2005


Samuel Bitton wrote:
> Do you have a proper work around to suggest please.
> 
> Although Leon Pollak says that the problem can be ignored as the library is built by the time the test suits starts being built, as far as I can tell, even if the BSP library is built, it is not installed in the final specified directory (i.e. /opt/rtems-4.6/i386-rtems/obc386) as this actually happens after the test suit compilation.

One easy solution is to provide stubs for all the missing parts.

Another is to comment out the tests in the upper level SUBDIRS
that is descending in and failing.

--joel


> Thanks
> 
>  -----Original Message-----
> From: 	Ralf Corsepius [mailto:ralf.corsepius at rtems.org] 
> Sent:	26 September 2005 10:58
> To:	Samuel Bitton
> Cc:	rtems-users at rtems.com
> Subject:	Re: Building RTEMS without test samples
> 
> On Mon, 2005-09-26 at 10:17 +0100, Samuel Bitton wrote:
> 
>>I've created a new BSP based on the i386 CPU. It has a very minimal
>>set of functionalities (for the moment) and therefore does not provide
>>any console drivers.
>>However the build process fails as it keeps insisting in building the
>>test samples which of course require a console driver.
>>
>>Here is the command I use to build the BSP:
>>
>>configure -disable-posix --disable-cxx --disable-networking
>>--disable-rtems-inlines --disable-multiprocessing --disable-tests
>>--enable-maintainer-mode --target=i386-rtems -enable-rtemsbsp=obc386
>>--prefix=/opt/rtems-4.6 
>>
>>The build process fails when it comes to build the hello world test
>>sample program which I thought the -disable-tests should prevent in
>>doing.
>>
>>Can someone tell me what I am missing?
> 
> Yes, ..
> 
> 
>>Note that I am working with RTEMS version 4.6.4.
> 
> This                                       ^^^^^^
> 
> Disable-tests is non-functional in 4.6.x and won't be fixed there ...
> 
> Ralf
> 
> 
> 
> 


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985




More information about the users mailing list