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
@ -1314,6 +1314,7 @@ ruby_version_is "2.7" do
|
|||||||
|
|
||||||
it "returns what will be loaded without actual loading, .so file" do
|
it "returns what will be loaded without actual loading, .so file" do
|
||||||
require 'rbconfig'
|
require 'rbconfig'
|
||||||
|
skip "no dynamically loadable standard extension" if RbConfig::CONFIG["EXTSTATIC"] == "static"
|
||||||
|
|
||||||
extension, path = $LOAD_PATH.resolve_feature_path('etc')
|
extension, path = $LOAD_PATH.resolve_feature_path('etc')
|
||||||
extension.should == :so
|
extension.should == :so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user