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.
This commit is contained in:
Daniel Bevenius 2025-03-27 12:55:43 +01:00
parent fa28968800
commit 3660e14588

View File

@ -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