meson: add enable-glcpp-tests option

these are too intermittent to be left enabled on CI for now

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17928>
This commit is contained in:
Yonggang Luo
2022-08-09 22:29:13 +08:00
committed by Marge Bot
parent 201a62cbba
commit 0f9b662f9a
3 changed files with 8 additions and 1 deletions

View File

@@ -86,7 +86,7 @@ glcpp = executable(
#
# FIXME: these fail on windows due to whitespace differences
if with_any_opengl and with_tests and meson.has_exe_wrapper() and \
host_machine.system() != 'windows'
host_machine.system() != 'windows' and with_glcpp_tests
modes = ['unix', 'windows', 'oldmac', 'bizarro']
foreach m : modes