meson: run glsl compiler warnings test
authorDylan Baker <dylan@pnwbakers.com>
Sat, 9 Dec 2017 01:45:03 +0000 (17:45 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 18 Apr 2018 16:03:57 +0000 (09:03 -0700)
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/glsl/tests/meson.build

index 146647a850ce0784fba2dbf402da4750cbcd3fd1..040b2576721fe423187e2d87ffebb997961d1c0b 100644 (file)
@@ -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'
+    ),
+  ],
+)