blob: 6f29ea161b4415171dde4fbca1d7bd42474a1d20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
USE_RUBY="ruby20 ruby21 ruby22"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.txt History.txt"
# Disable default binwraps
RUBY_FAKEGEM_BINWRAP=""
inherit ruby-fakegem
# Tests need to be verified
# Two tests are failing
# test_assert_nothing_thrown(Test::Unit::TC_Assertions):
# test_assert_throws(Test::Unit::TC_Assertions):
RESTRICT=test
DESCRIPTION="Nathaniel Talbott's originial test-unit"
HOMEPAGE="http://test-unit.rubyforge.org/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~x86-fbsd"
IUSE=""
ruby_add_rdepend ">=dev-ruby/hoe-1.5.1"
each_ruby_test() {
cd test || die
${RUBY} -I../lib:.. -S testrb test_*.rb || die
}
|