diff options
author | William Hubbs <williamh@gentoo.org> | 2012-05-15 20:03:48 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-05-15 20:03:48 +0000 |
commit | 2cc87df56ef9d201559da9ce0cdadb7e3d639210 (patch) | |
tree | 0e6d81f59c1cea2689948b3f19376ad6d119ec02 /dev-lang | |
parent | Stable for ppc/ppc64; bug #397231 (diff) | |
download | gentoo-2-2cc87df56ef9d201559da9ce0cdadb7e3d639210.tar.gz gentoo-2-2cc87df56ef9d201559da9ce0cdadb7e3d639210.tar.bz2 gentoo-2-2cc87df56ef9d201559da9ce0cdadb7e3d639210.zip |
add die if running the build and test scripts failed, thanks to floppym@gentoo.org for pointing this out.
(Portage version: 2.2.0_alpha104/cvs/Linux i686)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/go/go-1.0.1.ebuild | 6 | ||||
-rw-r--r-- | dev-lang/go/go-9999.ebuild | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/dev-lang/go/go-1.0.1.ebuild b/dev-lang/go/go-1.0.1.ebuild index 3c3de64960a2..fea10c27c315 100644 --- a/dev-lang/go/go-1.0.1.ebuild +++ b/dev-lang/go/go-1.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-1.0.1.ebuild,v 1.1 2012/05/15 18:11:26 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-1.0.1.ebuild,v 1.2 2012/05/15 20:03:48 williamh Exp $ EAPI=4 @@ -65,7 +65,7 @@ src_compile() use pax_kernel && opts="--pax-kernel" fi cd src - ./make.bash $opts + ./make.bash $opts || die "build failed" cd .. if use emacs; then @@ -77,7 +77,7 @@ src_test() { export_settings cd src - ./run.bash --no-rebuild --banner + ./run.bash --no-rebuild --banner || die "tests failed" } src_install() diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild index 476286345290..600ab5096d2e 100644 --- a/dev-lang/go/go-9999.ebuild +++ b/dev-lang/go/go-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-9999.ebuild,v 1.1 2012/05/15 18:11:26 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-9999.ebuild,v 1.2 2012/05/15 20:03:48 williamh Exp $ EAPI=4 @@ -65,7 +65,7 @@ src_compile() use pax_kernel && opts="--pax-kernel" fi cd src - ./make.bash $opts + ./make.bash $opts || die "build failed" cd .. if use emacs; then @@ -77,7 +77,7 @@ src_test() { export_settings cd src - ./run.bash --no-rebuild --banner + ./run.bash --no-rebuild --banner || die "tests failed" } src_install() |