[ECOS] How to build test separately.
Thu Oct 5 15:43:00 GMT 2000
On 05-Oct-2000 Fabrice Gautier wrote:
>> -----Original Message-----
>> From: Gary Thomas [ mailto:email@example.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'.
> 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.
More information about the Ecos-discuss