diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-08-20 09:23:01 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-08-20 09:23:20 +0200 |
commit | 898bf01f6371dfe0ff5ba29d6a8cdbcd30ef4ce0 (patch) | |
tree | 8b00bf9410d8e0ee7034be21366cf6d12a97b96e /www-servers | |
parent | fb27862b554bdc6572f812bc0194a4db38d418cb (diff) | |
download | gentoo-898bf01f6371dfe0ff5ba29d6a8cdbcd30ef4ce0.tar.gz gentoo-898bf01f6371dfe0ff5ba29d6a8cdbcd30ef4ce0.tar.xz |
www-servers/puma: run all tests and compile verbose
Package-Manager: portage-2.2.28
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/puma/puma-3.6.0.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/www-servers/puma/puma-3.6.0.ebuild b/www-servers/puma/puma-3.6.0.ebuild index 8da7e028740..870e570f5a1 100644 --- a/www-servers/puma/puma-3.6.0.ebuild +++ b/www-servers/puma/puma-3.6.0.ebuild @@ -28,6 +28,9 @@ ruby_add_bdepend "virtual/ruby-ssl all_ruby_prepare() { # Avoid test failing inconsistently sed -i -e '/phased_restart_via_pumactl/,/^ end/ s:^:#:' test/test_integration.rb || die + + # Avoid test we did not run previously that is failing + rm -f test/test_cli.rb || die } each_ruby_prepare() { @@ -41,13 +44,13 @@ each_ruby_configure() { } each_ruby_compile() { - emake -Cext/puma_http11 + emake V=1 -Cext/puma_http11 cp ext/puma_http11/puma_http11$(get_modname) lib/puma/ || die } each_ruby_test() { einfo "Running test suite" - ${RUBY} -Ilib:.:test -e "gem 'minitest'; gem 'test-unit'; Dir['test/**/*test_*.rb'].each{|f| require f}" || die + ${RUBY} -Ilib:.:test -e "gem 'minitest'; gem 'test-unit'; require 'minitest/autorun'; Dir['test/**/*test_*.rb'].each{|f| require f}" || die einfo "Running integration tests" pushd test/shell |