[Mesa-dev] [PATCH v2 02/12] meson: run glsl compiler warnings test

Dylan Baker dylan at pnwbakers.com
Thu Apr 5 21:51:30 UTC 2018


Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
---
 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 146647a..040b257 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'
+    ),
+  ],
+)
-- 
git-series 0.9.1


More information about the mesa-dev mailing list