dev-ruby/rbs: avoid tests using the network

Closes: https://bugs.gentoo.org/883169
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2022-11-27 09:03:12 +01:00
parent ccd444927a
commit dda3f74dc6

View File

@@ -40,7 +40,8 @@ all_ruby_prepare() {
rm -f test/rbs/test/runtime_test_test.rb || die
# Avoid tests requiring a network connection
rm -f test/rbs/collection/installer_test.rb test/rbs/collection/collections_test.rb test/rbs/collection/config_test.rb || die
rm -f test/rbs/collection/installer_test.rb test/rbs/collection/collections_test.rb \
test/rbs/collection/config_test.rb test/rbs/collection/sources/git_test.rb || die
sed -i -e '/def test_collection_/aomit "Requires network"' test/rbs/cli_test.rb || die
sed -i -e '/def test_loading_from_rbs_collection/aomit "Requires network"' test/rbs/environment_loader_test.rb || die