Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736368 - dev-ruby/did_you_mean-*: tests depend on dev-ruby/test-unit
Summary: dev-ruby/did_you_mean-*: tests depend on dev-ruby/test-unit
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:
Depends on:
Blocks:
 
Reported: 2020-08-08 08:21 UTC by Teodoro Spires
Modified: 2020-08-08 08:53 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 Teodoro Spires 2020-08-08 08:21:49 UTC
Emerging form a fresh install, did_you_mean fails its test phase with

 * Running test phase for ruby27 ...
/usr/bin/ruby27 -w -I"lib:test" -I"/usr/lib64/ruby/gems/2.7.0/gems/rake-13.0.1/lib" "/usr/lib64/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb" "test/tree_spell/test_human_typo.rb" "test/tree_spell/test_change_word.rb" "test/test_verbose_formatter.rb" "test/
test_tree_spell_checker.rb" "test/test_spell_checker.rb" "test/spell_checking/test_variable_name_check.rb" "test/spell_checking/test_uncorrectable_name_check.rb" "test/spell_checking/test_method_name_check.rb" "test/spell_checking/test_key_name_check.rb" "test/spell_checki
ng/test_class_name_check.rb" "test/edit_distance/test_jaro_winkler.rb" "test/core_ext/test_name_error_extension.rb"

File does not exist: test/unit

rake aborted!
Command failed with status (1): [ruby -w -I"lib:test" -I"/usr/lib64/ruby/gems/2.7.0/gems/rake-13.0.1/lib" "/usr/lib64/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb" "test/tree_spell/test_human_typo.rb" "test/tree_spell/test_change_word.rb" "test/test_verbos
e_formatter.rb" "test/test_tree_spell_checker.rb" "test/test_spell_checker.rb" "test/spell_checking/test_variable_name_check.rb" "test/spell_checking/test_uncorrectable_name_check.rb" "test/spell_checking/test_method_name_check.rb" "test/spell_checking/test_key_name_check.
rb" "test/spell_checking/test_class_name_check.rb" "test/edit_distance/test_jaro_winkler.rb" "test/core_ext/test_name_error_extension.rb" ]

Tasks: TOP => test
(See full trace by running task with --trace)

The reason is that dev-ruby/test-unit was not yet merged.
After merging test-unit the did_you_mean was successfully merged.

dev-ruby/did_you_mean should specify that its test phase depends on dev-ruby/test-unit.
Comment 1 Larry the Git Cow gentoo-dev 2020-08-08 08:53:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=215cbf927d452d3fee46c8baaf5651f35b03372f

commit 215cbf927d452d3fee46c8baaf5651f35b03372f
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2020-08-08 08:53:34 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2020-08-08 08:53:44 +0000

    dev-ruby/did_you_mean: fix test deps
    
    Add missing dev-ruby/test-unit dependency for tests.
    
    Closes: https://bugs.gentoo.org/736368
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/did_you_mean/did_you_mean-1.2.1.ebuild | 2 ++
 dev-ruby/did_you_mean/did_you_mean-1.3.1.ebuild | 2 ++
 dev-ruby/did_you_mean/did_you_mean-1.4.0.ebuild | 2 ++
 3 files changed, 6 insertions(+)