Date: Fri, 26 Oct 2012 12:27:35 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: obrien@freebsd.org, Garrett Cooper <yanegomi@gmail.com>, "Simon J. Gerraty" <sjg@juniper.net>, freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <CAGH67wS54AA3C%2B1D99dqBqKy-K1G5MVN0DERbaYbFsfCMmqHbA@mail.gmail.com> In-Reply-To: <20121026165414.GA43599@dragon.NUXI.org> References: <CAGH67wRkOmy7rWLkxXnT2155PuSQpwOMyu7dTAKeO1WW2dju7g@mail.gmail.com> <CDA41F27-73C1-47CF-B84D-2627B1F7E7D8@xcllnt.net> <20121001223100.E7D0D58093@chaos.jnpr.net> <FDE5A28C-297A-4476-B06E-638049E20C6C@gmail.com> <20121002000030.54CEE58093@chaos.jnpr.net> <CAGH67wSaFeVyr_uNfigNQ%2BOBy4JmiLMa_u7c7=aqgB7wDKzsLg@mail.gmail.com> <20121026165414.GA43599@dragon.NUXI.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 26, 2012 at 9:54 AM, David O'Brien <obrien@freebsd.org> wrote: > On Tue, Oct 02, 2012 at 07:19:55AM -0700, Garrett Cooper wrote: >> Hmmm... that's one of the 3 approaches I provided, but it turned out > ... >> 1. Test programs live with the sources (this was the requested approach), e.g. >> 2. Test programs live in subdirs: >> 3. Test programs completely decoupled from the source tree: > > Could someone please commit at least one working .c test and one .sh test? > > There is nothing to follow for others trying to write their own tests > in the FreeBSD-way. > > I could not find a single consumer of ATF in HEAD. This makes it seem > this is still a WIP that should be living in a branch and not in HEAD. > But we're paying the price for checkout & build times, etc... > See the recent 9.1-R thread and Peter Wemm (and others) comments in this > regard. > (this is why I hadn't committed the WIP I had - it wasn't ready for HEAD) There are some basic examples, but they're in my p4 branch and unfortunately they depend on atf.test.mk/bsd.test.mk/bsd.progs.mk existing before they can be built (please see the Examples section in http://wiki.freebsd.org/TestingFreeBSD ). I also have the tests integrated in my perforce branch and running, but it doesn't do a bit of good unless the build pieces are in. I've been trying to get these things into HEAD in proper order so they can be used effectively. Thanks, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wS54AA3C%2B1D99dqBqKy-K1G5MVN0DERbaYbFsfCMmqHbA>