This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: How to build test separately.



On 05-Oct-2000 Fabrice Gautier wrote:
>> -----Original Message-----
>> From: Gary Thomas [mailto:gthomas@redhat.com]
>> Sent: Wednesday, October 04, 2000 5:13 PM
>> To: Fabrice Gautier
>> Cc: Ecos-List (E-mail)
>> Subject: RE: [ECOS] How to build test separately.
>> 
>> 
>> 
>> On 05-Oct-2000 Fabrice Gautier wrote:
>> > Hi,
>> > 
>> > I'm using the Configuration Tool and would like to 
>> selectively build some of
>> > the test. How can I do that?
>> 
>> The easiest way is actually outside the config tool.  Get 
>> yourself a shell (bash).
>> This can be done from the config tool (build menu?)  Then 
>> building a single test
>> (or even a set of tests) is simple.  For example:
>> 
>>   % make
>>   % make -C kernel/current tests TESTS=tests/tm_basic
> 
> hum.. this doesn't work so well:
> 
> fabrice@FABRICE /e/tests/i386/net-001_build
> $ make -C net/tcpip/current/ tests TESTS=ping_lo_test
> make: Entering directory `/e/tests/i386/net-001_build/net/tcpip/current'
> make: *** No rule to make target `ping_lo_test.d', needed by `tests.stamp'.
> Stop.
> make: Leaving directory `/e/tests/i386/net-001_build/net/tcpip/current'

You need to specify this as: "TESTS=tests/ping_lo_test".  The "tests/"
part of the pathname is very important for how the rules work.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]