mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 22:40:34 +01:00
meson: Enable wgl tests on mingw
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Acked-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16084>
This commit is contained in:
parent
a9e34d6d8e
commit
d4ce845a8d
1 changed files with 13 additions and 16 deletions
|
|
@ -68,21 +68,18 @@ if with_tests
|
|||
dependencies : [idep_gtest, dep_dxheaders, extra_test_deps],
|
||||
)
|
||||
|
||||
# The CI pipeline for MinGW doesn't support creating a window, so don't run these tests there
|
||||
if with_tests and cc.get_id() != 'gcc'
|
||||
wgl_test_env = environment()
|
||||
wgl_test_env.append('PATH', libgallium_wgl_build_dir)
|
||||
if with_shared_glapi
|
||||
wgl_test_env.append('PATH', libglapi_build_dir)
|
||||
endif
|
||||
|
||||
test(
|
||||
'wgl',
|
||||
test_wgl,
|
||||
suite : ['wgl'],
|
||||
env : wgl_test_env,
|
||||
depends : [libopengl32],
|
||||
protocol : gtest_test_protocol,
|
||||
)
|
||||
wgl_test_env = environment()
|
||||
wgl_test_env.append('PATH', libgallium_wgl_build_dir)
|
||||
if with_shared_glapi
|
||||
wgl_test_env.append('PATH', libglapi_build_dir)
|
||||
endif
|
||||
|
||||
test(
|
||||
'wgl',
|
||||
test_wgl,
|
||||
suite : ['wgl'],
|
||||
env : wgl_test_env,
|
||||
depends : [libopengl32],
|
||||
protocol : gtest_test_protocol,
|
||||
)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue