brlcad: skip failing test on aarch64-linux

This commit is contained in:
Gaetan Lepage
2026-09-16 20:39:15 +00:00
parent cbe158f363
commit 68367da727

View File

@@ -187,12 +187,21 @@ stdenv.mkDerivation (finalAttrs: {
build/bext/tktable/tktable/CMake/FindTCL.cmake \
build/bext/tkhtml/tkhtml/CMake/FindTCL.cmake
''
# remove a failing test
# remove failing tests
+ lib.optionalString stdenv.hostPlatform.isAarch64 ''
substituteInPlace src/libbu/tests/CMakeLists.txt \
--replace-fail \
"brlcad_add_test(NAME bu_color_to_rgb_floats_1 COMMAND bu_test test_color 4 192,78,214)" \
""
''
# This test opens 16k mapped files from every CPU, each open being a linear scan
# under one global semaphore, so its runtime explodes on many-core machines and
# blows past ctest's 1500s default timeout on our 80-core aarch64 builders.
+ lib.optionalString stdenv.hostPlatform.isAarch64 ''
substituteInPlace src/libbu/tests/CMakeLists.txt \
--replace-fail \
"brlcad_add_test(NAME bu_mappedfile_parallel_16384 COMMAND bu_test test_mappedfile 2 16384)" \
""
'';
nativeBuildInputs = [