added RUN_SERIAL option to the parallel tests in Triangulation_3 and Mesh_3

This commit is contained in:
Dmitry Anisimov 2021-02-19 11:21:02 +01:00
parent d4947399ff
commit 9689ad23c2
3 changed files with 26 additions and 2 deletions

View File

@ -119,6 +119,21 @@ if ( CGAL_FOUND )
target_link_libraries(${target} PUBLIC CGAL::TBB_support) target_link_libraries(${target} PUBLIC CGAL::TBB_support)
endif() endif()
endforeach() endforeach()
if(BUILD_TESTING)
set_property(TEST execution___of__test_meshing_verbose PROPERTY RUN_SERIAL 1)
set_property(TEST execution___of__test_meshing_polyhedron_with_features PROPERTY RUN_SERIAL 1)
set_property(TEST execution___of__test_meshing_implicit_function PROPERTY RUN_SERIAL 1)
set_property(TEST execution___of__test_meshing_3D_image PROPERTY RUN_SERIAL 1)
set_property(TEST execution___of__test_meshing_3D_gray_image PROPERTY RUN_SERIAL 1)
set_property(TEST execution___of__test_meshing_unit_tetrahedron PROPERTY RUN_SERIAL 1)
set_property(TEST execution___of__test_meshing_polyhedron PROPERTY RUN_SERIAL 1)
set_property(TEST execution___of__test_meshing_polyhedral_complex PROPERTY RUN_SERIAL 1)
set_property(TEST execution___of__test_mesh_capsule_var_distance_bound PROPERTY RUN_SERIAL 1)
set_property(TEST execution___of__test_mesh_3_issue_1554 PROPERTY RUN_SERIAL 1)
set_property(TEST execution___of__test_mesh_polyhedral_domain_with_features_deprecated PROPERTY RUN_SERIAL 1)
set_property(TEST execution___of__test_mesh_cell_base_3 PROPERTY RUN_SERIAL 1)
endif()
endif() endif()
else() else()

View File

@ -52,6 +52,11 @@ if ( CGAL_FOUND )
message(STATUS "NOTICE: a few examples require TBB and will not be compiled.") message(STATUS "NOTICE: a few examples require TBB and will not be compiled.")
endif() endif()
if(BUILD_TESTING)
set_property(TEST execution___of__parallel_insertion_and_removal_in_regular_3 PROPERTY RUN_SERIAL 1)
set_property(TEST execution___of__parallel_insertion_in_delaunay_3 PROPERTY RUN_SERIAL 1)
set_property(TEST execution___of__sequential_parallel PROPERTY RUN_SERIAL 1)
endif()
else() else()
message(STATUS "This program requires the CGAL library, and will not be compiled.") message(STATUS "This program requires the CGAL library, and will not be compiled.")

View File

@ -41,6 +41,10 @@ if ( CGAL_FOUND )
endif() endif()
if(BUILD_TESTING) if(BUILD_TESTING)
set_property(TEST execution___of__test_delaunay_3 PROPERTY RUN_SERIAL 1)
set_property(TEST execution___of__test_regular_3 PROPERTY RUN_SERIAL 1)
set_property(TEST execution___of__test_regular_insert_range_with_info PROPERTY RUN_SERIAL 1)
set_tests_properties( set_tests_properties(
execution___of__test_delaunay_hierarchy_3 execution___of__test_delaunay_hierarchy_3
execution___of__test_delaunay_hierarchy_3_old execution___of__test_delaunay_hierarchy_3_old