From 1bb92a3178efdd8ed99016aa26aa769834420855 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Fri, 29 Jul 2022 02:42:42 +0800 Subject: [PATCH] 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 Acked-by: Eric Engestrom Part-of: --- src/util/meson.build | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/util/meson.build b/src/util/meson.build index b99d75bcfd8..cd44e49bfb4 100644 --- a/src/util/meson.build +++ b/src/util/meson.build @@ -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',