From 7aa770b239bd336d0e192ef472bf1d8175d3ed9d Mon Sep 17 00:00:00 2001
From: Andreas Marek <andreas.marek@mpcdf.mpg.de>
Date: Tue, 8 Oct 2019 09:13:07 +0200
Subject: [PATCH] Gitlab CI: fix script error

---
 ci_test_scripts/run_ci_tests.sh        |  3 ---
 ci_test_scripts/run_distcheck_tests.sh | 13 ++++---------
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/ci_test_scripts/run_ci_tests.sh b/ci_test_scripts/run_ci_tests.sh
index 333e6f3f..90497323 100755
--- a/ci_test_scripts/run_ci_tests.sh
+++ b/ci_test_scripts/run_ci_tests.sh
@@ -206,13 +206,10 @@ then
 
     fi
   fi
-  #if [ $exitCode -ne 0 ]
-  #then
   if [ -f ./test-suite.log ]
   then
     cat ./test-suite.log
   fi
-  #fi
 
   exit $exitCode
 
diff --git a/ci_test_scripts/run_distcheck_tests.sh b/ci_test_scripts/run_distcheck_tests.sh
index 7d74ddd6..2ed02f7d 100755
--- a/ci_test_scripts/run_distcheck_tests.sh
+++ b/ci_test_scripts/run_distcheck_tests.sh
@@ -145,20 +145,15 @@ then
     cat ./ELPA_CI.out.*
     #if [ $exitCode -ne 0 ]
     #then
-      cat ./ELPA_CI.err.*
+    cat ./ELPA_CI.err.*
     #fi
-    if [ -f ./test-suite.log ]
-    then
-      cat ./test-suite.log
-    fi
 
   fi
 
-  #if [ $exitCode -ne 0 ]
-  #then
+  if [ -f ./test-suite.log ]
+  then
     cat ./test-suite.log
-  #fi
-
+  fi
   exit $exitCode
 
 fi
-- 
GitLab