Mesa (main): microsoft/clc: Disable clc_compiler_test on non-windows platform
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jun 23 10:06:39 UTC 2022
Module: Mesa
Branch: main
Commit: a387c9284a702a14d9009745a6a7158762d6c175
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a387c9284a702a14d9009745a6a7158762d6c175
Author: Yonggang Luo <luoyonggang at gmail.com>
Date: Sun May 8 06:04:55 2022 +0800
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 at gmail.com>
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Acked-by: Daniel Stone <daniels at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16084>
---
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
More information about the mesa-commit
mailing list