ruby-changes:71293
From: Yuta <ko1@a...>
Date: Mon, 28 Feb 2022 17:59:54 +0900 (JST)
Subject: [ruby-changes:71293] bd1507b2f6 (master): spec: skip ext's extension spec for --with-static-linked-ext
https://git.ruby-lang.org/ruby.git/commit/?id=bd1507b2f6 From bd1507b2f63d894fc3b9a62436ba028615d2f562 Mon Sep 17 00:00:00 2001 From: Yuta Saito <kateinoigakukun@g...> 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(+) 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 https://github.com/ruby/ruby/blob/trunk/spec/ruby/language/predefined_spec.rb#L1314 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.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/