dev-ruby/excon: avoid dependency on eventmachine for tests

The test servers using eventmachine were using the eselected ruby
version rather than the version being tested, hiding their dependency on
eventmachine. All tests and specs using eventmachine are now ignored.

Closes: https://bugs.gentoo.org/838946
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2022-04-23 07:14:52 +02:00
parent db9adf2c8d
commit 50b5ef985f
+6
View File
@@ -36,4 +36,10 @@ all_ruby_prepare() {
# test that need network
rm -f spec/excon/test/server_spec.rb || die
# tests that depend on eventmachine which is broken and no longer maintained
rm -f tests/{bad,error,pipeline,response,request}_tests.rb \
tests/{batch-requests,complete_responses}.rb \
tests/middlewares/{decompress,mock}_tests.rb || die
rm -f spec/requests/eof_requests_spec.rb spec/excon/error_spec.rb || die
}