mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user