meson: Run the test with Python 3

This is a patch from me and a patch from Mathieu Bridon squashed
together.

Signed-off-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Mathieu Bridon <bochecha@daitauha.fr>
This commit is contained in:
Mathieu Bridon
2018-08-17 21:32:18 +02:00
committed by Dylan Baker
parent ff0ce31e2a
commit e15686567c
2 changed files with 10 additions and 4 deletions
+2 -1
View File
@@ -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'),
'--@0@'.format(m),
],