Dne sobota 26 Září 2009 18:26:48 Peter Volkov napsal(a): > > src_test() { > > mycmakeargs="${mycmakeargs} > > -DEIGEN_BUILD_TESTS=ON > > -DEIGEN_TEST_NO_FORTRAN=ON" > > cmake-utils_src_configure > > cmake-utils_src_compile > > cmake-utils_src_test > > } > > Does this mean that with tests enabled user will get different package? > If that's true I think user should be at least notified about that as > this is counterintuitive. If not why -D*TEST* are not added at > src_configure phase? > No this means that it will add to configure options tests feature. Since cmake is cascading it will configure and compile in only the required test stuff. Then it runs the test.
I dont think users really need tests out of the test scope so why to do it elsewhere. It has 0 effect on what is installed in the end Tomas
signature.asc
Description: This is a digitally signed message part.