Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Compilation in src_test
Date: Sat, 21 Jan 2006 02:07:27
Message-Id: 20060121020234.GB7665@nightcrawler.had1.or.comcast.net
In Reply to: [gentoo-dev] Compilation in src_test by Ciaran McCreesh
1 On Fri, Jan 20, 2006 at 08:05:42PM +0000, Ciaran McCreesh wrote:
2 > Say we have an autotooled package that provides a library. Say also
3 > that this package provides several well written test programs that are
4 > listed in Makefile.am under check_PROGRAMS. When emake is run, the
5 > library will be built, but the test programs will not be. When make
6 > check is run, the test programs will be built then run. Two problems...
7 >
8 > Firstly, this will result in non-trivial things being compiled in
9 > src_test. Is this an issue?
10
11 Imo, this is valid- it's test related, only kick off the work if it's
12 needed within that phase.
13
14 ~harring