]> xenbits.xensource.com Git - osstest.git/commitdiff
Honour OSSTEST_SIMULATE_FAIL_RETRY for immediate retries
authorIan Jackson <iwj@xenproject.org>
Thu, 8 Oct 2020 16:46:39 +0000 (17:46 +0100)
committerIan Jackson <iwj@xenproject.org>
Thu, 15 Oct 2020 15:07:20 +0000 (16:07 +0100)
This is primarily useful for debugging the immediate-retry logic, but
it seems churlish to delete it again.

Signed-off-by: Ian Jackson <iwj@xenproject.org>
cr-daily-branch

index bea8734edccbbf2c486dde54b5f7951fbba5a0f9..3e58d465c0232df89bd9e04b974ea1b9d3467098 100755 (executable)
@@ -517,6 +517,10 @@ while true; do
                --branch=$branch --revision-osstest=$narness_rev \
                '^build-*' --debug --blessings=real
 
+       if [ "${OSSTEST_SIMULATE_FAIL_RETRY+y}" = y ]; then
+               export OSSTEST_SIMULATE_FAIL="${OSSTEST_SIMULATE_FAIL_RETRY}"
+       fi
+
        export OSSTEST_RESOURCE_WAITSTART=$original_start
        execute_flight $rflight $OSSTEST_BLESSING-retest
        report_flight $rflight