From 25bf25f23a29d8b748b9e3cefc68fcf95bc675ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Riette?= <sebastien.riette@meteo.fr> Date: Thu, 14 Dec 2023 11:57:40 +0100 Subject: [PATCH] S. Riette 14 Dec 2023: aurora default arch in check_commit_testprogs.sh --- tools/check_commit_testprogs.sh | 4 ++-- tools/testing.sh | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/check_commit_testprogs.sh b/tools/check_commit_testprogs.sh index de8ef485f..d4aaa7e21 100755 --- a/tools/check_commit_testprogs.sh +++ b/tools/check_commit_testprogs.sh @@ -56,10 +56,10 @@ TESTDIR=${TESTPROGSDIR:=$HOME/TESTPROGS} dirdata=$PHYEXTOOLSDIR/testprogs_data if [ $(hostname | cut -c 1-7) == 'belenos' -o $(hostname | cut -c 1-7) == 'taranis' ]; then - HPC=1 defaultarchfile=MIMPIIFC1805.EPONA +elif [ $(hostname) == 'aurora01' ]; then + defaultarchfile=ECMWF_NEC440MPI225SP.AU.x else - HPC=0 defaultarchfile=gnu fi defaultRef=ref diff --git a/tools/testing.sh b/tools/testing.sh index f2e6e77a9..035e8bb74 100755 --- a/tools/testing.sh +++ b/tools/testing.sh @@ -91,6 +91,9 @@ done #stdout and stderr redirection logfile="${WORKDIR}/logfile" +if [ -f "${logfile}" ]; then + mv "${logfile}" "${logfile}.old" +fi exec > "${logfile}" 2>&1 #context for statuses -- GitLab