Mesa (master): travis: meson: enable unit tests

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Dec 21 14:49:53 UTC 2018


Module: Mesa
Branch: master
Commit: 31c162ad225161af2b8069cf7e2940a4bfc37456
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=31c162ad225161af2b8069cf7e2940a4bfc37456

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Tue Dec 11 10:34:51 2018 -0800

travis: meson: enable unit tests

v2: [Emil] pass the argument directly to meson

Reviewed-by: Emil Velikov <emil.velikov at collabora.com> (v1)
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

---

 .travis.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 3c34942cad..8cb7f8b95c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -649,7 +649,9 @@ script:
 
       export CFLAGS="$CFLAGS -isystem`pwd`"
       meson _build $MESON_OPTIONS \
-                   --native-file=native.file
+                   --native-file=native.file \
+                   -Dbuild-tests=true
       meson configure _build
       ninja -C _build
+      ninja -C _build test
     fi




More information about the mesa-commit mailing list