From 959fc38607a6e4452fad911ee73efe8a99682bbf Mon Sep 17 00:00:00 2001 From: Andrew Konchin Date: Wed, 6 Nov 2024 14:58:53 +0200 Subject: [PATCH] Fix jt test cexts --gems to not test third party gems --- tool/jt.rb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tool/jt.rb b/tool/jt.rb index 3c53f09290f1..77342b11bb7c 100755 --- a/tool/jt.rb +++ b/tool/jt.rb @@ -1443,19 +1443,22 @@ def retag(*args) out.sub('-', '--vm.') end - ALL_CEXTS_TESTS = %w[ - tools postinstallhook - minimum module method globals backtraces xopenssl werror no_timespec stripped + GEMS_CEXTS_TESTS = %w[ oily_png psd_native puma sqlite3 unf_ext json grpc RubyInline msgpack ] + ALL_CEXTS_TESTS = %w[ + tools postinstallhook + minimum module method globals backtraces xopenssl werror no_timespec stripped + ] + GEMS_CEXTS_TESTS + private def test_cexts(*args) no_openssl = args.delete('--no-openssl') no_gems = args.delete('--no-gems') tests = args.empty? ? ALL_CEXTS_TESTS : args tests -= %w[xopenssl] if no_openssl - tests.delete 'gems' if no_gems + tests -= GEMS_CEXTS_TESTS if no_gems tests.each do |test_name| run_single_cexts_test(test_name)