From 1323b49c95b05cb956f6daae7569c7d121b494ea Mon Sep 17 00:00:00 2001
From: scott snyder <scott.snyder@cern.ch>
Date: Tue, 14 Mar 2017 18:33:09 +0100
Subject: [PATCH] TileSimEventAthenaPool: Fix for finding out-of-repository
 test reference files.

Allow tests to find reference files outside of the repository.
---
 .../TileSvc/TileSimEventAthenaPool/CMakeLists.txt            | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/TileCalorimeter/TileSvc/TileSimEventAthenaPool/CMakeLists.txt b/TileCalorimeter/TileSvc/TileSimEventAthenaPool/CMakeLists.txt
index 9e710bc8d07..407c708b69c 100644
--- a/TileCalorimeter/TileSvc/TileSimEventAthenaPool/CMakeLists.txt
+++ b/TileCalorimeter/TileSvc/TileSimEventAthenaPool/CMakeLists.txt
@@ -32,7 +32,10 @@ endif()
 find_package( AthenaPoolUtilitiesTest )
 
 if( ATHENAPOOLUTILITIESTEST_FOUND )
-  run_tpcnv_test( TileSimEventTPCnv_HITS    HITS.04919495._000416 )
+  set( TILESIMEVENTATHENAPOOL_REFERENCE_TAG
+       TileSimEventAthenaPoolReference-01-00-00 )
+  run_tpcnv_test( TileSimEventTPCnv_HITS    HITS.04919495._000416
+                  REFERENCE_TAG ${TILESIMEVENTATHENAPOOL_REFERENCE_TAG} )
 else()
    message( WARNING "Couldn't find AthenaPoolUtilitiesTest. No test(s) set up." )
 endif()   
-- 
GitLab