[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Adding a standard regress target?
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: Adding a standard regress target?
- From: Christian Weisgerber <naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de>
- Date: Sat, 29 Sep 2001 18:17:10 +0200
Some of the programs in our ports collection ship with regression
tests (ranging from perfunctory to very thorough). Currently there
is no way to run these regression tests from the ports framework.
I wonder whether we should add a standard target ("regress", "test",
"check", whatever) to run those tests. This would be a step depending
on a successful build, but not called by default. Obviously it
would need some hooks, such as REGRESS_TARGET.
The way things are going, we're going to have four contempory
architectures (alpha, i386, powerpc, sparc64) plus a couple of legacy
- Most maintainers will not have access to all these archs. It would
be nice if you could simply tell somebody with a strange machine
to try a "make regress" of your port.
- The people who build packages for a particular arch can't know all
ports in detail. It would be nice if you could simply do a "make
regress" to have at least some confidence that a particular port
I guess the main argument against bothering with this is the low
number of programs that have any regression tests.
What do you think?
Christian "naddy" Weisgerber naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de
Visit your host, monkey.org