Getting rid of the ATF tools
Garrett Cooper
yaneurabeya at gmail.com
Sun Jul 21 18:13:32 UTC 2013
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!
More information about the freebsd-testing
mailing list