mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
4f200de591
Change-Id: I75afb65058690585bbf2671c27d6a99a87bcaab7
20 lines
545 B
Markdown
20 lines
545 B
Markdown
# Tests
|
|
|
|
This is a collection of tests for the libwebp libraries, currently covering
|
|
fuzzing through the APIs. Additional test vector coverage can be found at:
|
|
https://chromium.googlesource.com/webm/libwebp-test-data
|
|
|
|
## Building
|
|
|
|
### Fuzzers
|
|
|
|
Follow the [build instructions](../doc/building.md) for libwebp, optionally
|
|
adding build flags for various sanitizers (e.g., -fsanitize=address).
|
|
|
|
`-DWEBP_BUILD_FUZZTEST=ON` can then be used to compile the fuzzer targets:
|
|
|
|
```shell
|
|
$ cmake -B ./build -S . -DWEBP_BUILD_FUZZTEST=ON
|
|
$ make -C build
|
|
```
|