diff options
author | Ryan Hill <rhill@gentoo.org> | 2008-03-23 16:33:17 +0000 |
---|---|---|
committer | Ryan Hill <rhill@gentoo.org> | 2008-03-23 16:33:17 +0000 |
commit | 3cec3c8a2651ceeeb46d11377bae5de73e573245 (patch) | |
tree | a34eef858ff47f919e55b3674fdada99c0642d62 /eclass | |
parent | Updated 2.02.00 to STABLE2 20080323. (diff) | |
download | historical-3cec3c8a2651ceeeb46d11377bae5de73e573245.tar.gz historical-3cec3c8a2651ceeeb46d11377bae5de73e573245.tar.bz2 historical-3cec3c8a2651ceeeb46d11377bae5de73e573245.zip |
Add -k to make check so we always run the full testsuite rather than bail on the first error. Save test results in /usr/share/doc/.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index a9b2ae4e3fd2..e7b9978898a2 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.347 2008/03/17 01:51:49 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.348 2008/03/23 16:33:17 dirtyepic Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> @@ -1563,7 +1563,7 @@ gcc_src_compile() { gcc_src_test() { cd "${WORKDIR}"/build - make check || ewarn "check failed and that sucks :(" + make -k check || ewarn "check failed and that sucks :(" } gcc-library_src_install() { @@ -1759,6 +1759,14 @@ gcc-compiler_src_install() { # prune empty dirs left behind find "${D}" -type d | xargs rmdir >& /dev/null + # install testsuite results + if use test; then + docinto testsuite + find "${WORKDIR}"/build -type f -name "*.sum" -print0 | xargs -0 dodoc + find "${WORKDIR}"/build -type f -path "*/testsuite/*.log" -print0 \ + | xargs -0 dodoc + fi + # Rather install the script, else portage with changing $FILESDIR # between binary and source package borks things .... if ! is_crosscompile ; then |