Say we have an autotooled package that provides a library. Say also that this package provides several well written test programs that are listed in Makefile.am under check_PROGRAMS. When emake is run, the library will be built, but the test programs will not be. When make check is run, the test programs will be built then run. Two problems...
Firstly, this will result in non-trivial things being compiled in src_test. Is this an issue? Secondly, check_PROGRAMS when used in a subdirectory won't parallelise the compile even if we override the default src_test (which forces -j1). One way around this is to s/check_/noinst_/ in the Makefile.am. Is it worth it? Is anyone who is familiar with autotools internals aware of a cleverer solution? -- Ciaran McCreesh : Gentoo Developer (King of all Londinium) Mail : ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm
signature.asc
Description: PGP signature