[Mesa-dev] [PATCH 3/3] meson: Run the test with Python 3
Mathieu Bridon
bochecha at daitauha.fr
Fri Aug 17 19:32:18 UTC 2018
---
src/compiler/glsl/glcpp/meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/compiler/glsl/glcpp/meson.build b/src/compiler/glsl/glcpp/meson.build
index 09d44ddd687..769406f5331 100644
--- a/src/compiler/glsl/glcpp/meson.build
+++ b/src/compiler/glsl/glcpp/meson.build
@@ -64,8 +64,9 @@ if with_tests
foreach m : modes
test(
'glcpp test (@0@)'.format(m),
- find_program('tests/glcpp_test.py'),
+ prog_python,
args : [
+ join_paths(meson.current_source_dir(), 'tests/glcpp_test.py'),
glcpp, join_paths(meson.current_source_dir(), 'tests'),
'-- at 0@'.format(m),
],
--
2.17.1
More information about the mesa-dev
mailing list