diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-12-06 08:09:24 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-12-06 08:09:24 +0100 |
commit | 71bf9bd9a18f2a8e5053a0244d2494e052c5363b (patch) | |
tree | 97d20fdf277879c304eb416f9668425cf7f25d66 /dev-util | |
parent | dev-ruby/autoprefixer-rails: add 7.2.1 (diff) | |
download | gentoo-71bf9bd9a18f2a8e5053a0244d2494e052c5363b.tar.gz gentoo-71bf9bd9a18f2a8e5053a0244d2494e052c5363b.tar.bz2 gentoo-71bf9bd9a18f2a8e5053a0244d2494e052c5363b.zip |
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
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/cucumber/cucumber-2.4.0-r1.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-util/cucumber/cucumber-2.4.0-r1.ebuild b/dev-util/cucumber/cucumber-2.4.0-r1.ebuild index 9f9edf0e8e7e..edfd73d18951 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 |