From 8c623f734625b1966eb8599c5440dc128bc249bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Riette?= <sebastien.riette@meteo.fr> Date: Thu, 30 Jun 2022 13:35:39 +0200 Subject: [PATCH] Doc update --- INSTALL_testprogs | 9 +++++++++ check_commit_testprogs.sh | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/INSTALL_testprogs b/INSTALL_testprogs index 7d63812c1..eed314f13 100644 --- a/INSTALL_testprogs +++ b/INSTALL_testprogs @@ -4,3 +4,12 @@ These data are generated according to the description provided in the Offline do The check_commit_testprogs.sh script will run offline simulations in the directory given by the environment variable TESTPROGSDIR ($HOME/TESTPROGS will be used if the variable is not set). This directory must exist. + +The goal of the script is to compare outputs between two simulations (to check if bit-reproducibilty +is achieved or not). +A reference simulation must be performed and save. This reference simulation is run the same way as the +test experiment but cannot be compared to something else: +check_commit_testprogs.sh -c -r <reference_commit> + +If this reference simulation must become the 'absolute' reference (used when invoking the check_commit_testprogs.sh +script with the 'REF' argument), the reference simulation directory (under $TESTPROGSDIR) must be renamed 'ref'. diff --git a/check_commit_testprogs.sh b/check_commit_testprogs.sh index 46cca3aad..16a70e2bd 100755 --- a/check_commit_testprogs.sh +++ b/check_commit_testprogs.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -x +#set -x set -e #This script: -- GitLab