From 8cef1efc670922421ae9027d7ec26bb4d8d30ee2 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Mon, 29 Oct 2018 23:40:43 +0100 Subject: Readme: Add info how to run tests --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index c39fd14..9e42faf 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,22 @@ The [VideoLAN Code of Conduct](https://wiki.videolan.org/CoC) applies to this pr 2. Run `meson build --buildtype release` 3. Build with `ninja -C build` +# Run tests + +1. During initial build dir setup or `meson configure` specify `-Dbuild_tests=true` +2. In the build directory run `meson test` optionally with `-v` for more verbose output, especially useful + for checkasm + +# Run testdata based tests + +1. Checkout the test data repository + + ``` + git clone https://code.videolan.org/videolan/dav1d-test-data.git tests/dav1d-test-data + ``` +2. During initial build dir setup or `meson configure` specify `-Dbuild_tests=true` and `-Dtestdata_tests=true` +3. In the build directory run `meson test` optionally with `-v` for more verbose output + # Support This project is partially funded by the *Alliance for Open Media*/**AOM** and is supported by TwoOrioles and VideoLabs. -- cgit v1.2.3