[Mesa-dev] [PATCH v2 44/49] meson: don't build or run mesa-sha1 test on windows
Dylan Baker
dylan at pnwbakers.com
Tue Jul 10 23:18:12 UTC 2018
It crashes hard (pop-up window and all).
---
src/util/meson.build | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/src/util/meson.build b/src/util/meson.build
index 27a6fc118e5..27e1fae41a9 100644
--- a/src/util/meson.build
+++ b/src/util/meson.build
@@ -150,16 +150,19 @@ if with_tests
)
)
- test(
- 'mesa-sha1',
- executable(
- 'mesa-sha1_test',
- files('mesa-sha1_test.c'),
- include_directories : inc_common,
- link_with : libmesa_util,
- c_args : [c_msvc_compat_args],
+ if host_machine.system() != 'windows'
+ # this test doesn't work on windows
+ test(
+ 'mesa-sha1',
+ executable(
+ 'mesa-sha1_test',
+ files('mesa-sha1_test.c'),
+ include_directories : inc_common,
+ link_with : libmesa_util,
+ c_args : [c_msvc_compat_args],
+ )
)
- )
+ endif
subdir('tests/hash_table')
subdir('tests/string_buffer')
--
2.18.0
More information about the mesa-dev
mailing list