From: Brian Conry Date: Thu, 6 May 2021 18:50:44 +0000 (-0500) Subject: Preserve SYSTEMTEST_NO_CLEAN when run.sh calls make X-Git-Tag: v9.17.14~35^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=516de44c9fa0a59b9e4874512793f0d67530a09e;p=thirdparty%2Fbind9.git Preserve SYSTEMTEST_NO_CLEAN when run.sh calls make This restores legacy behavior in bin/tests/system where running: SYSTEMTEST_NO_CLEAN=1 ./run.sh would run the test and preserve the output files. This has been broken since the change that has run.sh invoke "make", due to SYSTEMTEST_NO_CLEAN not being preserved in the environment that's set up for "make". Another option would be to completely remove SYSTEMTEST_NO_CLEAN. This seems to be the only behavior-changing environment variable not accounted for in the call to "make". I don't think this needs a CHANGES entry. --- diff --git a/bin/tests/system/run.sh.in b/bin/tests/system/run.sh.in index 3460ede6121..d7fabf319d9 100644 --- a/bin/tests/system/run.sh.in +++ b/bin/tests/system/run.sh.in @@ -70,7 +70,7 @@ if ! $do_run; then if [ "$baseport" -eq 0 ]; then log_flags="$log_flags -p 5300" fi - env - SLOT="$SLOT" SOFTHSM2_CONF="$SOFTHSM2_CONF" PATH="$PATH" ${LD_LIBRARY_PATH:+"LD_LIBRARY_PATH=${LD_LIBRARY_PATH}"} TESTS="$*" TEST_SUITE_LOG=run.log LOG_DRIVER_FLAGS="--verbose yes --color-tests yes" LOG_FLAGS="$log_flags" make -e check + env - SYSTEMTEST_NO_CLEAN="$SYSTEMTEST_NO_CLEAN" SLOT="$SLOT" SOFTHSM2_CONF="$SOFTHSM2_CONF" PATH="$PATH" ${LD_LIBRARY_PATH:+"LD_LIBRARY_PATH=${LD_LIBRARY_PATH}"} TESTS="$*" TEST_SUITE_LOG=run.log LOG_DRIVER_FLAGS="--verbose yes --color-tests yes" LOG_FLAGS="$log_flags" make -e check exit $? fi