Skip to content

Commit

Permalink
dev-ruby/io-wait: fix running tests
Browse files Browse the repository at this point in the history
Run the tests directly again to avoid unneeded dependencies in the
Rakefile.

Closes: https://bugs.gentoo.org/931132
Signed-off-by: Hans de Graaff <[email protected]>
  • Loading branch information
graaff committed May 4, 2024
1 parent 108053c commit c9435ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev-ruby/io-wait/io-wait-0.3.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ all_ruby_prepare() {
sed -e '/test_wait_mask_\(negative\|readable\|writable\|zero\)/aomit("Requires working console")' \
-i test/io/wait/test_io_wait.rb || die
}

each_ruby_test() {
${RUBY} -Ilib:.:test:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die
}

0 comments on commit c9435ce

Please sign in to comment.