summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2014-10-30 15:09:45 +0000
committerAlexis Ballier <aballier@gentoo.org>2014-10-30 15:09:45 +0000
commitf6403aa74acb3c2ce20b6ce3e1d527eaeddb54bf (patch)
tree2071a3e4d2888e9efc37474bef72a9a111f2ae33 /dev-ml/parmap
parentStable for amd64, wrt bug #527438 (diff)
downloadgentoo-2-f6403aa74acb3c2ce20b6ce3e1d527eaeddb54bf.tar.gz
gentoo-2-f6403aa74acb3c2ce20b6ce3e1d527eaeddb54bf.tar.bz2
gentoo-2-f6403aa74acb3c2ce20b6ce3e1d527eaeddb54bf.zip
Fix tests by running against the instance we built, not the installed one. Bug #527478
Signed-off-by: aballier@gentoo.org (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'dev-ml/parmap')
-rw-r--r--dev-ml/parmap/ChangeLog6
-rw-r--r--dev-ml/parmap/parmap-1.0_rc5.ebuild8
2 files changed, 12 insertions, 2 deletions
diff --git a/dev-ml/parmap/ChangeLog b/dev-ml/parmap/ChangeLog
index 289233e51758..c5b751ef7289 100644
--- a/dev-ml/parmap/ChangeLog
+++ b/dev-ml/parmap/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ml/parmap
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/parmap/ChangeLog,v 1.1 2014/10/27 09:25:33 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/parmap/ChangeLog,v 1.2 2014/10/30 15:09:45 aballier Exp $
+
+ 30 Oct 2014; Alexis Ballier <aballier@gentoo.org> parmap-1.0_rc5.ebuild:
+ Fix tests by running against the instance we built, not the installed one.
+ Bug #527478
*parmap-1.0_rc5 (27 Oct 2014)
diff --git a/dev-ml/parmap/parmap-1.0_rc5.ebuild b/dev-ml/parmap/parmap-1.0_rc5.ebuild
index 52a5063ee7c3..15e5d66352e5 100644
--- a/dev-ml/parmap/parmap-1.0_rc5.ebuild
+++ b/dev-ml/parmap/parmap-1.0_rc5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/parmap/parmap-1.0_rc5.ebuild,v 1.1 2014/10/27 09:25:33 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/parmap/parmap-1.0_rc5.ebuild,v 1.2 2014/10/30 15:09:45 aballier Exp $
EAPI=5
@@ -22,6 +22,12 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${PN}-${MY_PV}"
src_test() {
+ mkdir "${WORKDIR}/tmpinstall" || die
+ emake \
+ OCAMLLIBDIR="ocaml" \
+ DESTDIR="${WORKDIR}/tmpinstall" \
+ install
+ export OCAMLPATH="${WORKDIR}/tmpinstall/ocaml"
emake tests
cd _build/tests || die
for i in $(find . -type f -executable) ; do