[Mesa-dev] [PATCH 02/10] meson: run glsl compiler warnings test
Dylan Baker
dylan at pnwbakers.com
Thu Jan 11 22:53:54 UTC 2018
Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
---
src/compiler/glsl/tests/meson.build | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/compiler/glsl/tests/meson.build b/src/compiler/glsl/tests/meson.build
index 27f3407..11fb4fb 100644
--- a/src/compiler/glsl/tests/meson.build
+++ b/src/compiler/glsl/tests/meson.build
@@ -72,5 +72,12 @@ test('cache_test', glsl_cache_test)
test('general_ir_test', glsl_general_ir_test)
test('uniform_initializer_test', glsl_uniform_initializer_test)
test('sampler_types_test', glsl_sampler_types_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