bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [7606] shell builtin "test" not invoked if appears alone


From: kabe
Subject: Re: [7606] shell builtin "test" not invoked if appears alone
Date: Sat, 7 Feb 2004 02:29:27 +0900

address@hidden sed in <address@hidden>:

>>   k> GNU automake uses this bare "test" in several testsuite.
>> 
>> I don't have a problem making this change but I'm curious as to what
>> kind of command line in a makefile rule would use test(1) but not use
>> any other special character that would cause make to kick the command to
>> the slow path?

Well automake testsuite uses

test: distdir
        test -f $(distdir)/foo/Makefile.am
        ....

to just check if the Makefile.am had been created properly by automake
(barfs if it wasn't generated, and signals the FAIL of the test)
The point is not the slow path but the return code to
let the make **Stop.
-- 
kabe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]