diff options
author | Ryan Hill <rhill@gentoo.org> | 2009-03-23 23:13:39 +0000 |
---|---|---|
committer | Ryan Hill <rhill@gentoo.org> | 2009-03-23 23:13:39 +0000 |
commit | 9f01a4eeaff117af741f434219320bb057e0b8cc (patch) | |
tree | 1196a509803952a7055af9943eafaef03d1c16a9 /dev-libs/boost/boost-1.35.0-r2.ebuild | |
parent | Version bump. Using cmake-utils now. Updated ebuild thanks to Daniel Pielmeier. (diff) | |
download | historical-9f01a4eeaff117af741f434219320bb057e0b8cc.tar.gz historical-9f01a4eeaff117af741f434219320bb057e0b8cc.tar.bz2 historical-9f01a4eeaff117af741f434219320bb057e0b8cc.zip |
Fix testsuite postprocessing for bug #245192.
Package-Manager: portage-2.2_rc26/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/boost/boost-1.35.0-r2.ebuild')
-rw-r--r-- | dev-libs/boost/boost-1.35.0-r2.ebuild | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/dev-libs/boost/boost-1.35.0-r2.ebuild b/dev-libs/boost/boost-1.35.0-r2.ebuild index b3deab4f1a85..18383dc74486 100644 --- a/dev-libs/boost/boost-1.35.0-r2.ebuild +++ b/dev-libs/boost/boost-1.35.0-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.35.0-r2.ebuild,v 1.1 2008/09/01 18:37:20 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.35.0-r2.ebuild,v 1.2 2009/03/23 23:13:39 dirtyepic Exp $ inherit python flag-o-matic multilib toolchain-funcs versionator check-reqs @@ -35,11 +35,11 @@ pkg_setup() { if has test ${FEATURES} ; then CHECKREQS_DISK_BUILD="1024" check_reqs - - ewarn "The tests may take several hours on a recent machine" - ewarn "but they will not fail (unless something weird happens ;-)" - ewarn "This is because the tests depend on the used compiler/-version" - ewarn "and the platform and upstream says that this is normal." + ewarn "The testsuite may take several hours to run on a modern system." + ewarn "It is normal to see some tests failing, as some are dependent" + ewarn "on compiler version and platform. Unless something weird" + ewarn "happens, the ebuild should continue installing as normal." + ewarn ewarn "If you are interested in the results, please take a look at the" ewarn "generated results page:" ewarn " ${ROOT}usr/share/doc/${PF}/status/cs-$(uname).html" @@ -73,7 +73,7 @@ generate_options() { # Using optimization=off would for example add # "-O0" and override "-O2" set by the user. # Please take a look at the boost-build ebuild - # for more infomration. + # for more information. OPTIONS="gentoorelease" use debug && OPTIONS="gentoodebug" @@ -157,6 +157,7 @@ src_compile() { ${OPTIONS} \ --prefix="${D}/usr" \ --layout=system \ + process_jam_log compiler_status \ || die "building regression test helpers failed" fi @@ -247,7 +248,10 @@ src_test() { --dump-tests 2>&1 | tee regress.log # Postprocessing - cat regress.log | "${S}/dist/bin/process_jam_log" --v2 + process_jam_log=$(find "${S}"/tools/regression/build/bin -name process_jam_log -print); + compiler_status=$(find "${S}"/tools/regression/build/bin -name compiler_status -print); + + cat regress.log | "${process_jam_log}" --v2 if test $? != 0 ; then die "Postprocessing the build log failed" fi @@ -257,7 +261,7 @@ src_test() { __EOF__ # Generate the build log html summary page - "${S}/dist/bin/compiler_status" --v2 \ + "${compiler_status}" --v2 \ --comment "${S}/status/comment.html" "${S}" \ cs-$(uname).html cs-$(uname)-links.html if test $? != 0 ; then |