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

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jul 29 22:04:18 UTC 2022


Module: Mesa
Branch: main
Commit: 1bb92a3178efdd8ed99016aa26aa769834420855
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bb92a3178efdd8ed99016aa26aa769834420855

Author: Yonggang Luo <luoyonggang at gmail.com>
Date:   Fri Jul 29 02:42:42 2022 +0800

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 at gmail.com>
Acked-by: Eric Engestrom <eric at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17802>

---

 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',



More information about the mesa-commit mailing list