]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ruby : omit test_build_options locally (#3132)
authorDaniel Bevenius <redacted>
Sat, 10 May 2025 06:18:08 +0000 (08:18 +0200)
committerGitHub <redacted>
Sat, 10 May 2025 06:18:08 +0000 (08:18 +0200)
commit2e310b841e0b4e7cf00890b53411dd9f8578f243
tree835b3a0a1b7b62d254a590e47df17113de0f213b
parent5d4390d28109050a26e10bc40d1dc577406c0071
ruby : omit test_build_options locally (#3132)

This commit omits the test for `test_build_options` when run locally as
it currently fails on Linux and MacOS platforms.
`
The motivation for this change is that currently when running the tests
locally on a non-macOS platform the test fails with the following error:
```console
.F
========================================================================
Failure: test_build_options(TestPackage):
  <["ACCELERATE_FRAMEWORK",
   "CMAKE_OSX_ARCHITECTURES",
   "CMAKE_OSX_SYSROOT",
   "FOUNDATION_LIBRARY",
   "METALKIT_FRAMEWORK",
   "METAL_FRAMEWORK"]> was expected to be empty.
/home/danbev/work/ai/whisper.cpp/bindings/ruby/tests/test_package.rb:43:in `test_build_options'
     40:     options = BuildOptions::Options.new
     41:     assert_empty options.missing_options
     42:     unless ENV["CI"]
  => 43:       assert_empty options.extra_options
     44:     end
     45:   end
     46: end
========================================================================
```
bindings/ruby/tests/test_package.rb