ref: 8a52189f0dfc18ccfa7a17f0e5d97ca4434806f1
parent: 96b244957fba69b8bc850dfd36367de401a52164
author: Luca Barbato <lu_zero@gentoo.org>
date: Sun Feb 3 17:41:18 EST 2019
Make the test section easier to use
--- a/README.md
+++ b/README.md
@@ -70,7 +70,7 @@
# Compile
-1. Install [Meson](https://mesonbuild.com/) (0.47 or higher), [Ninja](https://ninja-build.org/), and, for x86* targets, [nasm](https://nasm.us/) (2.13.02 or higher)
+1. Install [Meson](https://mesonbuild.com/) (0.47 or higher), [Ninja](https://ninja-build.org/), and, for x86\* targets, [nasm](https://nasm.us/) (2.13.02 or higher)
2. Run `meson build --buildtype release`
3. Build with `ninja -C build`
@@ -88,6 +88,10 @@
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`
+
+ ```
+ meson .test -Dbuild_tests=true -Dtestdata_tests=true
+ ```
3. In the build directory run `meson test` optionally with `-v` for more verbose output
# Support