summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorYuta Saito <kateinoigakukun@gmail.com>2022-02-17 17:38:54 +0000
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-02-28 17:59:33 +0900
commitbd1507b2f63d894fc3b9a62436ba028615d2f562 (patch)
tree2795812b41c398065bb50da6a6f6125c84ed65eb /spec
parent32f356e84a2079b1a68b056b5b150eb80928b185 (diff)
spec: skip ext's extension spec for --with-static-linked-ext
`resolve_feature_path` doesn't return .so when the given ext is linked statically by --with-static-linked-ext
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5582
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/language/predefined_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/ruby/language/predefined_spec.rb b/spec/ruby/language/predefined_spec.rb
index d311750200..732e66b9e7 100644
--- a/spec/ruby/language/predefined_spec.rb
+++ b/spec/ruby/language/predefined_spec.rb
@@ -1314,6 +1314,7 @@ ruby_version_is "2.7" do
it "returns what will be loaded without actual loading, .so file" do
require 'rbconfig'
+ skip "no dynamically loadable standard extension" if RbConfig::CONFIG["EXTSTATIC"] == "static"
extension, path = $LOAD_PATH.resolve_feature_path('etc')
extension.should == :so