From dd383217f2bd86ff38d8b83b417a064f9e3e150c Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Wed, 29 Jul 2020 16:42:10 +0200 Subject: [PATCH] Avoid a race-condition between two tests using the same I/O file --- Mesh_3/test/Mesh_3/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Mesh_3/test/Mesh_3/CMakeLists.txt b/Mesh_3/test/Mesh_3/CMakeLists.txt index d731e12d4e4..98cfb1e2b23 100644 --- a/Mesh_3/test/Mesh_3/CMakeLists.txt +++ b/Mesh_3/test/Mesh_3/CMakeLists.txt @@ -118,6 +118,12 @@ if ( CGAL_FOUND ) endforeach() endif() + if(BUILD_TESTING) + set_tests_properties( + execution___of__test_meshing_polyhedron_with_features + execution___of__test_meshing_verbose + PROPERTIES RESOURCE_LOCK Mesh_3_Tests_IO) + endif() else() message(STATUS "This program requires the CGAL library, and will not be compiled.")