From bd1507b2f63d894fc3b9a62436ba028615d2f562 Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Thu, 17 Feb 2022 17:38:54 +0000 Subject: 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 --- spec/ruby/language/predefined_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec') 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 -- cgit v1.2.3