commit: 71bf9bd9a18f2a8e5053a0244d2494e052c5363b Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Wed Dec 6 07:09:24 2017 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Wed Dec 6 07:09:24 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71bf9bd9
dev-util/cucumber: fix tests Avoid tests broken by different backtrace introduced in recent versions of dev-lang/ruby. Closes: https://bugs.gentoo.org/628580 Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-util/cucumber/cucumber-2.4.0-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-util/cucumber/cucumber-2.4.0-r1.ebuild b/dev-util/cucumber/cucumber-2.4.0-r1.ebuild index 9f9edf0e8e7..edfd73d1895 100644 --- a/dev-util/cucumber/cucumber-2.4.0-r1.ebuild +++ b/dev-util/cucumber/cucumber-2.4.0-r1.ebuild @@ -54,6 +54,10 @@ all_ruby_prepare() { sed -i -e '/converts the snapshot path to a relative path/,/end/ s:^:#:' \ spec/cucumber/formatter/html_spec.rb || die + # Avoid specs that fail due to changes in the ruby backtrace, + # introduced in newer versions of dev-lang/ruby, bug 628580 + rm -f features/docs/defining_steps/nested_steps.feature + # Avoid dependency on git sed -i -e '/executables/ s/=.*/= ["cucumber"]/' \ -e '/git ls-files/d' cucumber.gemspec || die