1
0
Fork 0
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:
Yuta Saito 2022-02-17 17:38:54 +00:00 committed by Nobuyoshi Nakada
parent 32f356e84a
commit bd1507b2f6
Notes: git 2022-02-28 17:59:56 +09:00

View file

@ -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