diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-07-12 16:44:57 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-08-12 15:57:25 +0900 |
commit | cd1a0b3caaa5446e9258c192cf483b6dfe8d7819 (patch) | |
tree | 7dcc4a1f0a2ff245fd7e1f36b4d10994574491f3 /test/-ext- | |
parent | a201cfd0cdb9f613f687dc6fee1908ec54e63c72 (diff) |
Stop defining `RUBY_ABI_VERSION` if released versions
As commented in include/ruby/internal/abi.h, since teeny versions of
Ruby should guarantee ABI compatibility, `RUBY_ABI_VERSION` has no role
in released versions of Ruby.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6231
Diffstat (limited to 'test/-ext-')
-rw-r--r-- | test/-ext-/test_abi.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/-ext-/test_abi.rb b/test/-ext-/test_abi.rb index 59e70107a5..d3ea6bb9b1 100644 --- a/test/-ext-/test_abi.rb +++ b/test/-ext-/test_abi.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +return unless RUBY_PATCHLEVEL < 0 + class TestABI < Test::Unit::TestCase def test_require_lib_with_incorrect_abi_on_dev_ruby omit "ABI is not checked" unless abi_checking_supported? |