From 3660e14588439b06cb1eff86c7bbd051f7322aa2 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 27 Mar 2025 12:55:43 +0100 Subject: [PATCH] bindings.ruby : enable Wisper.log_set in tests The commit reverts the commenting out of the Whisper.log_set call in the test_whisper.rb tests. I'm no longer getting segfaults when running the tests with this which was the case earlier. One theory could be that I rebased this to include the latest ggml sync to master to make sure things still worked. With the latest changes in ggml, I can't reproduce the segfaults. --- bindings/ruby/tests/test_whisper.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bindings/ruby/tests/test_whisper.rb b/bindings/ruby/tests/test_whisper.rb index 5cae9732..2754ab06 100644 --- a/bindings/ruby/tests/test_whisper.rb +++ b/bindings/ruby/tests/test_whisper.rb @@ -3,9 +3,7 @@ require "stringio" require "etc" # Exists to detect memory-related bug -# TODO(danbev) Investigate how this works as it currently causes a segfault -# when enabled. -#Whisper.log_set ->(level, buffer, user_data) {}, nil +Whisper.log_set ->(level, buffer, user_data) {}, nil class TestWhisper < TestBase def setup