mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
32f356e84a
commit
bd1507b2f6
Notes:
git
2022-02-28 17:59:56 +09:00
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue