From e7882469767472c5d018b74fa13e600e9aba31d3 Mon Sep 17 00:00:00 2001
From: Sebastien Ponce <sebastien.ponce_github@m4x.org>
Date: Thu, 13 Feb 2020 17:21:43 +0100
Subject: [PATCH] Fixed missing test dependency for Persist_CLICSiD_Geant4

The dependency on Persist_CLICSiD_Save_LONGTEST was missing leading to failures when running tests with "-j 32" for example
---
 examples/Persistency/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/Persistency/CMakeLists.txt b/examples/Persistency/CMakeLists.txt
index f9e5c58db..1c964ddcc 100644
--- a/examples/Persistency/CMakeLists.txt
+++ b/examples/Persistency/CMakeLists.txt
@@ -221,6 +221,7 @@ if (DD4HEP_USE_GEANT4)
     COMMAND    "${CMAKE_INSTALL_PREFIX}/bin/run_test_Persistency.sh"
     EXEC_ARGS  python ${CMAKE_CURRENT_SOURCE_DIR}/../CLICSiD/scripts/CLICSiD_LoadROOTGeo.py  batch
     REQUIRES   DDG4 Geant4
+    DEPENDS    Persist_CLICSiD_Save_LONGTEST
     REGEX_PASS "\\+\\+\\+ Finished run 0 after 10 events \\(10 events in total\\)"
     REGEX_FAIL "Exception;EXCEPTION;ERROR"
     )
-- 
GitLab