microsoft/clc: Disable clc_compiler_test on non-windows platform

The test can compile, but can not pass, so compile it but not running it

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:
Yonggang Luo 2022-05-08 06:04:55 +08:00 committed by Marge Bot
parent e1e94f8c81
commit a387c9284a
1 changed files with 4 additions and 1 deletions

View File

@ -42,5 +42,8 @@ if dep_dxheaders.found()
include_directories : [inc_include, inc_src, inc_compiler, inc_spirv],
)
test('clc_compiler_test', clc_compiler_test, timeout: 180, protocol : gtest_test_protocol)
if build_machine.system() == 'windows'
test('clc_compiler_test', clc_compiler_test, timeout: 180, protocol : gtest_test_protocol)
endif
endif