util: Disable tests/sparse_array_test.cpp on MacOS as it's too slow

[----------] 1 test from SparseArrayTest
[ RUN      ] SparseArrayTest.Multithread
[       OK ] SparseArrayTest.Multithread (105624 ms)
[----------] 1 test from SparseArrayTest (105624 ms total)

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17802>
This commit is contained in:
Yonggang Luo 2022-07-29 02:42:42 +08:00 committed by Marge Bot
parent dc8df485e9
commit 1bb92a3178
1 changed files with 7 additions and 1 deletions

View File

@ -343,7 +343,6 @@ if with_tests
'tests/register_allocate_test.cpp',
'tests/roundeven_test.cpp',
'tests/set_test.cpp',
'tests/sparse_array_test.cpp',
'tests/timespec_test.cpp',
'tests/u_atomic_test.cpp',
'tests/u_debug_stack_test.cpp',
@ -366,6 +365,13 @@ if with_tests
)
endif
# FIXME: this test cause a big timeout on MacOS
if host_machine.system() != 'darwin'
files_util_tests += files(
'tests/sparse_array_test.cpp',
)
endif
if with_shader_cache
files_util_tests += files(
'tests/cache_test.cpp',