summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2009-08-30 09:47:01 +0000
committerAlex Legler <a3li@gentoo.org>2009-08-30 09:47:01 +0000
commit9957c229a17b1b8b89e98d77542cf272c8480835 (patch)
tree03ffbc005c33af052ad394c76f41b84cceb4db9b /dev-ruby
parentBump to version 1.4.11, should fix bug #282196 (diff)
downloadgentoo-2-9957c229a17b1b8b89e98d77542cf272c8480835.tar.gz
gentoo-2-9957c229a17b1b8b89e98d77542cf272c8480835.tar.bz2
gentoo-2-9957c229a17b1b8b89e98d77542cf272c8480835.zip
Fix testing.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/ruby-dbi/ChangeLog5
-rw-r--r--dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/dev-ruby/ruby-dbi/ChangeLog b/dev-ruby/ruby-dbi/ChangeLog
index 7aad0035a1a3..8445aa8d91f3 100644
--- a/dev-ruby/ruby-dbi/ChangeLog
+++ b/dev-ruby/ruby-dbi/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/ruby-dbi
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ChangeLog,v 1.38 2009/08/26 22:46:47 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ChangeLog,v 1.39 2009/08/30 09:47:01 a3li Exp $
+
+ 30 Aug 2009; Alex Legler <a3li@gentoo.org> ruby-dbi-0.4.2.ebuild:
+ Fix testing.
26 Aug 2009; Alex Legler <a3li@gentoo.org> ruby-dbi-0.4.2.ebuild:
Giving die a meaningful message, ignoring not installed ruby versions when
diff --git a/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild b/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild
index 00d9c067d01c..1fa6da9de68c 100644
--- a/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild
+++ b/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.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/ruby-dbi/ruby-dbi-0.4.2.ebuild,v 1.2 2009/08/26 22:46:47 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild,v 1.3 2009/08/30 09:47:01 a3li Exp $
inherit "ruby"
@@ -32,8 +32,8 @@ USE_RUBY="ruby18 ruby19"
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