Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2013 11:13:26 -0700
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        Julio Merino <julio@meroh.net>
Cc:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, Rui Paulo <rpaulo@netbsd.org>
Subject:   Re: Getting rid of the ATF tools
Message-ID:  <8D6EC091-EA47-4B0F-B270-429C596FAF52@gmail.com>
In-Reply-To: <CADyfeQUAcbSLNWVzP24WEgsnt4Qqf9Ge--aD6LwakmBj5zjgFQ@mail.gmail.com>
References:  <20130719200017.GA79155@mastodon.meroh.net> <CAGHfRMC9xV6QRBieQp-kJW1OMqXgqDmhjQ3DGPQTJ2Swg3B3%2BQ@mail.gmail.com> <CADyfeQX27p5G9eeOFcxzN1iuNnerqFFumB9---HL2tYdwfNkrQ@mail.gmail.com> <CAGHfRMAHMmeBkrURko7RO87p2wBKYvo9cAP7s6h0qOUJnbyfAg@mail.gmail.com> <CADyfeQUAcbSLNWVzP24WEgsnt4Qqf9Ge--aD6LwakmBj5zjgFQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 21, 2013, at 6:20 AM, Julio Merino <julio@meroh.net> wrote:
>=20
> 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. Fo=
r groups that need to backport test infrastructure to previous releases like=
 9.x, introducing instability by bringing in bmake is a non-starter as makin=
g 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 th=
at my work was going to make it into head before now and that parties involv=
ed with that effort would have been more active working with me trying to ge=
t 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 idio=
ms.

I've conditionalized out this support on another it branch and will submit i=
t 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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8D6EC091-EA47-4B0F-B270-429C596FAF52>