From dd00a0933e3d364813e3f678828cb27185bcbc16 Mon Sep 17 00:00:00 2001
From: Tamara Vazquez Schroeder <tamara.vazquez.schroeder@cern.ch>
Date: Thu, 19 Oct 2017 18:09:05 +0000
Subject: [PATCH] Merge branch '21.0-TCT-Reference' into '21.0'

Allow RunTier0Test to run in release comparison mode

See merge request !5478
---
 Tools/PROCTools/python/RunTier0Tests.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Tools/PROCTools/python/RunTier0Tests.py b/Tools/PROCTools/python/RunTier0Tests.py
index 8106dcbc70e..cf99344c875 100755
--- a/Tools/PROCTools/python/RunTier0Tests.py
+++ b/Tools/PROCTools/python/RunTier0Tests.py
@@ -501,9 +501,10 @@ def main():
 
         
 ########### Get release info
-        mysetup = GetReleaseSetup() 
+        if not (options.ref and options.val):
+            mysetup = GetReleaseSetup()
+            cleanSetup = mysetup
         mypwd   = pwd()
-        cleanSetup = mysetup
 
 ########### List the packages in the local InstallArea                                                                                                                                                                                                                           
         if options.ref and options.val:
-- 
GitLab