Commit ab2e7f1b authored by norvell's avatar norvell
Browse files

Fix in printout to report status of [allow regression] tag

parent b0d5558d
Loading
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -369,10 +369,12 @@ stages:
    - if [ $exit_code -eq 1 ]; then echo "Differences encountered"; exit_code=$EXIT_CODE_NON_BE; fi
    - if [ $zero_errors_branch != 1 ]; then echo "Run errors encountered!"; exit_code=$EXIT_CODE_NON_BE; fi
    - if [ $regressions_found != 0 ] && ; then
    -    echo "Detected regression wrt to main!"
    -    exit_code=$EXIT_CODE_NON_BE;
    -    if [ $allow_regressions_flag == 0 ]; then
    -        echo "Detected regression wrt to main, [allow regression] not set!"
    -        exit_code=$EXIT_CODE_FAIL;
    -    else
    -        echo "Detected regression wrt to main, [allow regression] set."
    -        exit_code=$EXIT_CODE_NON_BE;
    -    fi
    - fi
    - exit $exit_code