Getting rid of the ATF tools

Alan Somers asomers at freebsd.org
Mon Jul 22 19:54:47 UTC 2013


Speaking of backporting, has anybody yet merged Garrett's git branch
to a stable/9 based branch?  We're still basing our bsd.test.mk etc
off of a very old branch of Garrett's.

(sorry for double post; I sent the last post from the wrong email
alias so the message didn't get accepted by mailman)

On Sun, Jul 21, 2013 at 12:13 PM, Garrett Cooper <yaneurabeya at gmail.com> wrote:
> On Jul 21, 2013, at 6:20 AM, Julio Merino <julio at meroh.net> wrote:
>>
>> I don't understand what the issue with bmake is.  Neither ATF nor Kyua
>> use make for anything -- and that's the whole point of having a tool
>> that implements the runtime engine for the tests!
>
> It's a build time dependency for tests to be built (and thus run), today. For groups that need to backport test infrastructure to previous releases like 9.x, introducing instability by bringing in bmake is a non-starter as making bmake work when running buildworld pulls in a lot of external dependencies.
>
> I agreed to bmake a year ago because I was operating under the impression that my work was going to make it into head before now and that parties involved with that effort would have been more active working with me trying to get things to function.
>
>> The only place where bmake is used is in the NetBSD src tree to build
>> the tests...
>
> This is unfortunately an incorrect statement. bsd.test.mk requires bsd.progs.mk, which only works with bmake. Similarly atf.test.mk uses bmake only idioms.
>
> I've conditionalized out this support on another it branch and will submit it for inclusion into FreeBSD once my tests are done.
>
>> so: unless you want to copy verbatim the bsd.test.mk from
>> NetBSD and the various Makefiles from src/tests/ into FreeBSD, there
>> shouldn't be any issue.  FWIW, FreeBSD's and NetBSD's build systems
>> are so different already that attempting to copy Makefiles verbatim
>> isn't gonna work anyway :-/
>
> I know. I monkeypatched things to work with FreeBSD on my git branch.
>
> Thanks!
> _______________________________________________
> freebsd-testing at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-testing
> To unsubscribe, send any mail to "freebsd-testing-unsubscribe at freebsd.org"


More information about the freebsd-testing mailing list