summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-12-11 08:43:12 +0000
committerHans de Graaff <graaff@gentoo.org>2011-12-11 08:43:12 +0000
commit409f214133d7bba67e9663dc570fa6d914d9b208 (patch)
tree2f42180e603e24368712a6bc8885d6f4e1c22ee9 /dev-ruby/eventmachine
parentUse more of the main gdb ebuild's functionality. (diff)
downloadgentoo-2-409f214133d7bba67e9663dc570fa6d914d9b208.tar.gz
gentoo-2-409f214133d7bba67e9663dc570fa6d914d9b208.tar.bz2
gentoo-2-409f214133d7bba67e9663dc570fa6d914d9b208.zip
Run tests directly so that we can ensure the new code is tested. Found while bootstrapping ruby19.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/eventmachine')
-rw-r--r--dev-ruby/eventmachine/ChangeLog9
-rw-r--r--dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild8
2 files changed, 13 insertions, 4 deletions
diff --git a/dev-ruby/eventmachine/ChangeLog b/dev-ruby/eventmachine/ChangeLog
index 392ee4d2b77c..e9404f032663 100644
--- a/dev-ruby/eventmachine/ChangeLog
+++ b/dev-ruby/eventmachine/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/eventmachine
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/ChangeLog,v 1.15 2010/12/27 20:13:48 grobian Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/ChangeLog,v 1.16 2011/12/11 08:43:12 graaff Exp $
+
+ 11 Dec 2011; Hans de Graaff <graaff@gentoo.org>
+ eventmachine-0.12.10-r2.ebuild:
+ Run tests directly so that we can ensure the new code is tested. Found while
+ bootstrapping ruby19.
27 Dec 2010; Fabian Groffen <grobian@gentoo.org>
eventmachine-0.12.10-r2.ebuild:
diff --git a/dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild b/dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild
index 89aff67e8228..91b6d642f0bb 100644
--- a/dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild,v 1.5 2010/12/27 20:13:48 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/eventmachine-0.12.10-r2.ebuild,v 1.6 2011/12/11 08:43:12 graaff Exp $
EAPI="2"
# jruby → has shims for Java handling but tests fail badly, remaining
@@ -54,6 +54,10 @@ each_ruby_compile() {
done
}
+each_ruby_test() {
+ ${RUBY} -Ilib -S testrb tests/test_*.rb || die
+}
+
all_ruby_install() {
all_fakegem_install