[Mesa-dev] [PATCH v3 2/2] meson: Use python3 to run glsl tests
Mathieu Bridon
bochecha at daitauha.fr
Wed Aug 22 14:36:05 UTC 2018
Reviewed-by: Mathieu Bridon <bochecha at daitauha.fr>
On Fri, 2018-08-17 at 11:07 -0700, Dylan Baker wrote:
> ---
> src/compiler/glsl/tests/meson.build | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/src/compiler/glsl/tests/meson.build
> b/src/compiler/glsl/tests/meson.build
> index fc7b863a278..2a41e30a28d 100644
> --- a/src/compiler/glsl/tests/meson.build
> +++ b/src/compiler/glsl/tests/meson.build
> @@ -84,8 +84,10 @@ test(
> )
>
> test(
> - 'glsl compiler warnings', find_program('warnings_test.py'),
> + 'glsl compiler warnings',
> + prog_python,
> args : [
> + join_paths(meson.current_source_dir(), 'warnings_test.py'),
> '--glsl-compiler', glsl_compiler,
> '--test-directory', join_paths(
> meson.source_root(), 'src', 'compiler', 'glsl', 'tests',
> 'warnings'
> @@ -94,6 +96,9 @@ test(
> )
> test(
> 'glsl optimization',
> - find_program('optimization_test.py'),
> - args : ['--test-runner', glsl_test],
> + prog_python,
> + args : [
> + join_paths(meson.current_source_dir(), 'optimization_test.py'),
> + '--test-runner', glsl_test
> + ],
> )
More information about the mesa-dev
mailing list