Skip to content

Commit 04878b3

Browse files
Merge pull request #1990 from arcaneframework/dev/gg-remove-test-if-metis-is-not-available
Remove multi-thread test mesh2_non_manifold if ParMetis is not the default partitioner
2 parents e4b07eb + 2643160 commit 04878b3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arcane/src/arcane/tests/CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,9 @@ if (Parmetis_FOUND)
563563
endif()
564564
arcane_add_test(mesh2_generate_edge_face_uid testMesh-2-generate-edge-face-uid.arc)
565565
arcane_add_test(mesh2_non_manifold testMesh-2-non-manifold.arc)
566-
arcane_add_test_parallel_thread(mesh2_non_manifold testMesh-2-non-manifold.arc 4)
566+
if (ARCANE_DEFAULT_PARTITIONER_IS_METIS)
567+
arcane_add_test_parallel_thread(mesh2_non_manifold testMesh-2-non-manifold.arc 4)
568+
endif()
567569
arcane_add_test_sequential(mesh2_generate_edge_face_uid_env testMesh-2-env-generate-edge-face-uid.arc "-We,ARCANE_GENERATE_UNIQUE_ID_FROM_NODES,1")
568570
arcane_add_test_sequential(mesh2_sort_faces testMesh-2-sorted-faces.arc)
569571
arcane_add_test_sequential(mesh2_init_nan testMesh-2.arc "-We,ARCANE_DATA_INIT_POLICY,NAN")

0 commit comments

Comments
 (0)