Mesa (master): meson: run glsl compiler warnings test

Dylan Baker dbaker at kemper.freedesktop.org
Wed Apr 18 16:07:11 UTC 2018


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

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Fri Dec  8 17:45:03 2017 -0800

meson: run glsl compiler warnings test

Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 src/compiler/glsl/tests/meson.build | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/compiler/glsl/tests/meson.build b/src/compiler/glsl/tests/meson.build
index 146647a850..040b257672 100644
--- a/src/compiler/glsl/tests/meson.build
+++ b/src/compiler/glsl/tests/meson.build
@@ -83,4 +83,12 @@ test(
   )
 )
 
-# TODO: figure out how to get the shell based tests to work?
+test(
+  'glsl compiler warnings', find_program('warnings_test.py'),
+  args : [
+    '--glsl-compiler', glsl_compiler,
+    '--test-directory', join_paths(
+      meson.source_root(), 'src', 'compiler', 'glsl', 'tests', 'warnings'
+    ),
+  ],
+)




More information about the mesa-commit mailing list