Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811975 - dev-ruby/rake-compiler-1.1.1 fails tests against >=dev-util/cucumber-7.0.0
Summary: dev-ruby/rake-compiler-1.1.1 fails tests against >=dev-util/cucumber-7.0.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2021-09-07 12:11 UTC by Marek Szuba (RETIRED)
Modified: 2021-09-11 08:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba (RETIRED) archtester gentoo-dev 2021-09-07 12:11:23 UTC
The file cucumber.yml rake-compiler comes with contains "--tags ~@java". This syntax is no longer allowed under cucumber-7 ("--tags 'not @java'" should be used instead), as a result cucumber throws a runtime error and src_test fails.

With the tag argument fixed all tests pass again.
Comment 1 Hans de Graaff gentoo-dev Security 2021-09-11 08:12:27 UTC
(In reply to Marek Szuba from comment #0)
> The file cucumber.yml rake-compiler comes with contains "--tags ~@java".
> This syntax is no longer allowed under cucumber-7 ("--tags 'not @java'"
> should be used instead), as a result cucumber throws a runtime error and
> src_test fails.
> 
> With the tag argument fixed all tests pass again.

Thanks for the report. The "not" syntax was introduced in cucumber 3 so we can just go with that.
Comment 2 Larry the Git Cow gentoo-dev 2021-09-11 08:12:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0363fda0ac3f84908d6d3dd869dd044aa4b72050

commit 0363fda0ac3f84908d6d3dd869dd044aa4b72050
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2021-09-11 08:11:51 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2021-09-11 08:12:35 +0000

    dev-ruby/rake-compiler: fix tests with new cucumber
    
    Closes: https://bugs.gentoo.org/811975
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/rake-compiler/rake-compiler-1.1.1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)