From 007467363f38823fd0ff659dedd5cefe844b9aaf Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Tue, 3 Nov 2020 16:40:52 +0100
Subject: [PATCH] Tests: use RESOURCE_LOCK to ensure tests are not running
 concurrently

---
 examples/LHeD/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/LHeD/CMakeLists.txt b/examples/LHeD/CMakeLists.txt
index c7429c594..d664d5ead 100644
--- a/examples/LHeD/CMakeLists.txt
+++ b/examples/LHeD/CMakeLists.txt
@@ -108,6 +108,7 @@ if (DD4HEP_USE_GEANT4)
       EXEC_ARGS  root.exe -b -x -n -q -l "${LHeDEx_INSTALL}/scripts/run.C(\"${LHeDEx_INSTALL}/scripts/${script}\")"
       REGEX_PASS "UserEvent_1      INFO  Geant4TestEventAction> calling end.event_id=9"
       REGEX_FAIL "Exception;EXCEPTION;ERROR;Error" )
+    set_property(TEST t_LHeD_DDG4_${script}_as_ACLick_LONGTEST PROPERTY RESOURCE_LOCK "INIT_ACLICK")
     #
     # Execute identical source linked executable 
     dd4hep_add_test_reg( LHeD_DDG4_${script}_as_exe_LONGTEST
-- 
GitLab