summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2007-05-11 16:08:45 +0000
committerMarijn Schouten <hkbst@gentoo.org>2007-05-11 16:08:45 +0000
commit44e89f83ba5fdc2cce40fcde19d0c1aaf9c1c8df (patch)
tree0e76c963bfa7512fc57724fded9f036b61836567 /dev-scheme
parentfix herd (diff)
downloadgentoo-2-44e89f83ba5fdc2cce40fcde19d0c1aaf9c1c8df.tar.gz
gentoo-2-44e89f83ba5fdc2cce40fcde19d0c1aaf9c1c8df.tar.bz2
gentoo-2-44e89f83ba5fdc2cce40fcde19d0c1aaf9c1c8df.zip
fix tests
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/gambit/ChangeLog5
-rw-r--r--dev-scheme/gambit/gambit-4.0_beta22.ebuild14
2 files changed, 15 insertions, 4 deletions
diff --git a/dev-scheme/gambit/ChangeLog b/dev-scheme/gambit/ChangeLog
index da895804c78f..30f5e1185ffc 100644
--- a/dev-scheme/gambit/ChangeLog
+++ b/dev-scheme/gambit/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-scheme/gambit
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/ChangeLog,v 1.7 2007/05/11 12:53:51 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/ChangeLog,v 1.8 2007/05/11 16:08:45 hkbst Exp $
+
+ 11 May 2007; Marijn Schouten <hkBst@gentoo.org> gambit-4.0_beta22.ebuild:
+ fix tests
11 May 2007; Marijn Schouten <hkBst@gentoo.org> gambit-4.0_beta22.ebuild:
add automatic loading of syntax-case. This may cause tests to fail. The
diff --git a/dev-scheme/gambit/gambit-4.0_beta22.ebuild b/dev-scheme/gambit/gambit-4.0_beta22.ebuild
index 5abb2a83dc92..5592ada38ecd 100644
--- a/dev-scheme/gambit/gambit-4.0_beta22.ebuild
+++ b/dev-scheme/gambit/gambit-4.0_beta22.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/gambit-4.0_beta22.ebuild,v 1.3 2007/05/11 12:53:51 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/gambit-4.0_beta22.ebuild,v 1.4 2007/05/11 16:08:45 hkbst Exp $
inherit eutils elisp-common check-reqs autotools multilib
@@ -61,6 +61,14 @@ src_compile() {
fi
}
+src_test() {
+ vecho ">>> Test phase [check]: ${CATEGORY}/${PF}"
+ if ! GAMBCOPT="=." emake -j1 check; then
+ hasq test $FEATURES && die "Make test failed. See above for details."
+ hasq test $FEATURES || eerror "Make test failed. See above for details."
+ fi
+}
+
src_install() {
einstall docdir=${D}/usr/share/doc/${PF} || die "einstall failed"
@@ -88,6 +96,6 @@ src_install() {
dosym gsi usr/bin/gambit-interpreter
# automatically load syntx-case for r5rs+ goodness
- dodir /etc/env.d/ && echo "GAMBCOPT=\"=/usr/$(get_libdir)/\"" > ${D}/etc/env.d/50gambit
- echo '(load "~~/syntax-case")' > ${D}/usr/$(get_libdir)/gambcext
+ dodir /etc/env.d/ && echo "GAMBCOPT=\"=/usr/\"" > ${D}/etc/env.d/50gambit
+ echo "(load \"/usr/$(get_libdir)/syntax-case\")" > ${D}/usr/gambcext
}