summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoutaro Matsumoto <matsumoto@soutaro.com>2022-12-21 22:11:51 +0900
committerGitHub <noreply@github.com>2022-12-21 22:11:51 +0900
commit6af6857ecfd5d67e5e9125c7ace0900475481275 (patch)
treef6ed80d89d41106672e70a34a73878b62d52258b
parentbefc99c00813568973a6330b2101e27184aab509 (diff)
Set up RBS_SKIP_TESTS (#6862)
* Set up RBS_SKIP_TESTS
Notes
Notes: Merged-By: soutaro <matsumoto@soutaro.com>
-rw-r--r--tool/rbs_skip_tests9
-rw-r--r--tool/test-bundled-gems.rb2
2 files changed, 10 insertions, 1 deletions
diff --git a/tool/rbs_skip_tests b/tool/rbs_skip_tests
new file mode 100644
index 0000000000..071b3ac313
--- /dev/null
+++ b/tool/rbs_skip_tests
@@ -0,0 +1,9 @@
+test_collection_install(RBS::CliTest) running tests without Bundler
+test_collection_install_frozen(RBS::CliTest) running tests without Bundler
+test_collection_update(RBS::CliTest) running tests without Bundler
+
+NetSingletonTest depending on external resources
+NetInstanceTest depending on external resources
+TestHTTPRequest depending on external resources
+TestSingletonNetHTTPResponse depending on external resources
+TestInstanceNetHTTPResponse depending on external resources
diff --git a/tool/test-bundled-gems.rb b/tool/test-bundled-gems.rb
index ae4d4f0ca3..26ad265608 100644
--- a/tool/test-bundled-gems.rb
+++ b/tool/test-bundled-gems.rb
@@ -34,7 +34,7 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
when "typeprof"
when "rbs"
- test_command << " stdlib_test validate"
+ test_command << " stdlib_test validate RBS_SKIP_TESTS=#{__dir__}/rbs_skip_tests"
first_timeout *= 3
when "debug"