From a387c9284a702a14d9009745a6a7158762d6c175 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Sun, 8 May 2022 06:04:55 +0800 Subject: [PATCH] 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 Reviewed-by: Jesse Natalie Acked-by: Daniel Stone Part-of: --- src/microsoft/clc/meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/microsoft/clc/meson.build b/src/microsoft/clc/meson.build index 504a7867dbc..966c17b43f3 100644 --- a/src/microsoft/clc/meson.build +++ b/src/microsoft/clc/meson.build @@ -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