whisper.cpp/tests
Daniel Bevenius 9bfc535130
Some checks failed
Bindings Tests (Ruby) / ubuntu-22 (push) Has been cancelled
Publish Docker image / Push Docker image to Docker Hub (map[dockerfile:.devops/main-cuda.Dockerfile platform:linux/amd64 tag:main-cuda]) (push) Has been cancelled
Publish Docker image / Push Docker image to Docker Hub (map[dockerfile:.devops/main-intel.Dockerfile platform:linux/amd64 tag:main-intel]) (push) Has been cancelled
Publish Docker image / Push Docker image to Docker Hub (map[dockerfile:.devops/main-musa.Dockerfile platform:linux/amd64 tag:main-musa]) (push) Has been cancelled
Publish Docker image / Push Docker image to Docker Hub (map[dockerfile:.devops/main.Dockerfile platform:linux/amd64 tag:main]) (push) Has been cancelled
Examples WASM / deploy-wasm-github-pages (push) Has been cancelled
tests : use CMake definitions for model/sample paths (#3406)
This commit modifies the test-vad and test-vad-full tests to use CMake
definitions for the model and sample paths.

The motivation for this is that currently the tests use relative paths
which might not always be correct depending on the working directory.
With the changes in this commit the tests can be run usins ctest:
```console
$ ctest -R ^test-vad$ --test-dir build
```
Or directly (which is not currently possible without this fix):
```
./build/bin/test-vad
```

Resolves: https://github.com/ggml-org/whisper.cpp/issues/3404
2025-09-04 15:08:30 +02:00
..
earnings21 tests : add a new benchmark test for long-form audio (#3185) 2025-05-28 07:08:44 +02:00
librispeech musa: correct MUSA SDK rc4.0.1 download URL (#3217) 2025-06-03 06:02:12 +02:00
.gitignore tests : adding transcription tests 2022-12-02 21:40:02 +02:00
CMakeLists.txt tests : use CMake definitions for model/sample paths (#3406) 2025-09-04 15:08:30 +02:00
en-0-ref.txt tests : adding transcription tests 2022-12-02 21:40:02 +02:00
en-1-ref.txt tests : adding transcription tests 2022-12-02 21:40:02 +02:00
en-2-ref.txt tests : adding transcription tests 2022-12-02 21:40:02 +02:00
es-0-ref.txt tests : adding transcription tests 2022-12-02 21:40:02 +02:00
run-tests.sh whisper : rename binaries + fix install (#2648) 2024-12-21 09:43:49 +02:00
test-c.c whisper : reorganize source code + improve CMake (#2256) 2024-06-26 19:34:09 +03:00
test-vad-full.cpp tests : use CMake definitions for model/sample paths (#3406) 2025-09-04 15:08:30 +02:00
test-vad.cpp tests : use CMake definitions for model/sample paths (#3406) 2025-09-04 15:08:30 +02:00
test-whisper.js Node.js package (#260) 2022-12-12 20:17:27 +02:00