We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff66aee commit d9b2100Copy full SHA for d9b2100
bindings/ruby/tests/test_package.rb
@@ -29,6 +29,14 @@ def test_install
29
assert_path_not_exist File.join(dir, "gems/whispercpp-#{version}/ext/build")
30
end
31
32
+
33
+ private
34
35
+ def assert_installed(dir, version)
36
+ assert_path_exist File.join(dir, "gems/whispercpp-#{version}/lib", "whisper.#{RbConfig::CONFIG["DLEXT"]}")
37
+ assert_path_exist File.join(dir, "gems/whispercpp-#{version}/LICENSE")
38
+ assert_path_not_exist File.join(dir, "gems/whispercpp-#{version}/ext/build")
39
+ end
40
41
42
def test_build_options
0 commit comments