ATF-devel archive

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

Re: ATF confusion with improperly terminated script



On Mon, 7 Feb 2011 20:41:14 +0000, Julio Merino 
<jmmv%homeworld.netbsd.org@localhost> wrote:
>> This means that it would probably be a bit more convoluted to run the
>> test than just typing:
>>
>>     cd /usr/src/tools/regression/bin/sh
>>     make && atf-run
>>
>> Since binaries and auto-generated files may end up in ${.OBJDIR} and
>> atf-run would have to somehow be able to find them :-/
>
> But you will have this issue anyway with C test programs.  Better to
> be consistent, I think!
>
> Take a look at the "make test" in NetBSD to see how we deal with this.
> Scroll down the bsd.test.mk file up to the big fat comment:
>
> http://cvsweb.netbsd.org/bsdweb.cgi/src/share/mk/bsd.test.mk?rev=1.14&content-type=text/x-cvsweb-markup&only_with_tag=MAIN

Thanks.  That would work fine I think :-)



Home | Main Index | Thread Index | Old Index