diff options
author | Yuta Saito <kateinoigakukun@gmail.com> | 2022-02-17 17:38:54 +0000 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-02-28 17:59:33 +0900 |
commit | bd1507b2f63d894fc3b9a62436ba028615d2f562 (patch) | |
tree | 2795812b41c398065bb50da6a6f6125c84ed65eb /spec/ruby/language | |
parent | 32f356e84a2079b1a68b056b5b150eb80928b185 (diff) | |
download | ruby-bd1507b2f63d894fc3b9a62436ba028615d2f562.tar.gz |
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
Diffstat (limited to 'spec/ruby/language')
-rw-r--r-- | spec/ruby/language/predefined_spec.rb | 1 |
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 |