From 5430447a6efcac2f43120ea162e53e08b606386a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 22 Jun 2020 10:11:47 +0200 Subject: [PATCH] Adjust comments about SEED synchronisation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Pégourié-Gonnard --- tests/scripts/all.sh | 6 +++++- tests/scripts/basic-build-test.sh | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 00bf997f5..a22f7b960 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -123,7 +123,11 @@ pre_initialize_variables () { KEEP_GOING=0 # Seed value used with the --release-test option. - # !!! Keep this in sync with SEED in basic-build-test.sh !!! + # + # See also RELEASE_SEED in basic-build-test.sh. Debugging is easier if + # both values are kept in sync. If you change the value here because it + # breaks some tests, you'll definitely want to change it in + # basic-build-test.sh as well. RELEASE_SEED=1 : ${MBEDTLS_TEST_OUTCOME_FILE=} diff --git a/tests/scripts/basic-build-test.sh b/tests/scripts/basic-build-test.sh index f91b14466..8d71bbaea 100755 --- a/tests/scripts/basic-build-test.sh +++ b/tests/scripts/basic-build-test.sh @@ -44,7 +44,10 @@ fi : ${GNUTLS_LEGACY_SERV:="$GNUTLS_SERV"} # Used to make ssl-opt.sh deterministic. -# !!! Keep this in sync with RELEASE_SEED in all.sh !!! +# +# See also RELEASE_SEED in all.sh. Debugging is easier if both values are kept +# in sync. If you change the value here because it breaks some tests, you'll +# definitely want to change it in all.sh as well. : ${SEED:=1} export SEED