summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2009-08-30 09:49:02 +0000
committerAlex Legler <a3li@gentoo.org>2009-08-30 09:49:02 +0000
commit3252856c5061ad33d0ba454fbbc50f842a935ef6 (patch)
tree28506ed8a0437977869c36601f7b3b235fc74c18 /dev-ruby
parentFix testing. (diff)
downloadgentoo-2-3252856c5061ad33d0ba454fbbc50f842a935ef6.tar.gz
gentoo-2-3252856c5061ad33d0ba454fbbc50f842a935ef6.tar.bz2
gentoo-2-3252856c5061ad33d0ba454fbbc50f842a935ef6.zip
Fix testing.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/deprecated/ChangeLog5
-rw-r--r--dev-ruby/deprecated/deprecated-2.0.1.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/dev-ruby/deprecated/ChangeLog b/dev-ruby/deprecated/ChangeLog
index 47833fcd419e..073d96a0e7f8 100644
--- a/dev-ruby/deprecated/ChangeLog
+++ b/dev-ruby/deprecated/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/deprecated
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/deprecated/ChangeLog,v 1.3 2009/08/26 22:44:52 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/deprecated/ChangeLog,v 1.4 2009/08/30 09:49:02 a3li Exp $
+
+ 30 Aug 2009; Alex Legler <a3li@gentoo.org> deprecated-2.0.1.ebuild:
+ Fix testing.
26 Aug 2009; Alex Legler <a3li@gentoo.org> deprecated-2.0.1.ebuild:
Dying a little more, ignoring not installed ruby versions when testing.
diff --git a/dev-ruby/deprecated/deprecated-2.0.1.ebuild b/dev-ruby/deprecated/deprecated-2.0.1.ebuild
index 17ade7dd1a81..e3f9deb0884a 100644
--- a/dev-ruby/deprecated/deprecated-2.0.1.ebuild
+++ b/dev-ruby/deprecated/deprecated-2.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/deprecated/deprecated-2.0.1.ebuild,v 1.3 2009/08/26 22:44:52 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/deprecated/deprecated-2.0.1.ebuild,v 1.4 2009/08/30 09:49:02 a3li Exp $
EAPI="2"
inherit ruby
@@ -21,8 +21,8 @@ RDEPEND="dev-lang/ruby"
src_test() {
for rb in $USE_RUBY; do
+ [ -n "$(type -p ${rb})" ] || continue
ebegin "Testing for ${rb}"
- [ -x ${rb} ] || continue
${rb} setup.rb test || die "test failed"
eend $?
done