-echo "Found these $num_failures non-bitexact testcases:"
-cat failed_testcases_for_printing.txt
-if [ $num_errors -ne 0 ]; then
-exit_code=1
-echo "There were errors present in the following testcases:"
-cat errors_testcases_for_printing.txt
-fi
-zip -r $PYTEST_CACHE_ARTIFACT .pytest_cache
-exit $exit_code
-else
-*print-results-banner
-echo "All testcases are bitexact."
-fi
-exit $exit_code
allow_failure:
@@ -502,7 +531,10 @@ stages:
-*overwrite-pytest-cache-with-artifact
-export PYTEST_ADDOPTS=--last-failed
-else
-echo "All tested cases were bit-exact between $CI_MERGE_REQUEST_TARGET_BRANCH_NAME and $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME. No need to check for regressions."
# turn off echoing back of commands for result printout
-*print-results-banner
-echo "All tested cases were bit-exact between $CI_MERGE_REQUEST_TARGET_BRANCH_NAME and $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME."
-echo "No need to check for regressions. All is fine."
-exit 0
-fi
@@ -528,10 +560,9 @@ stages:
### run branch first
# this per default builds the branch and the reference and creates the reference outputs
# If outputs of main and branch are equal, have equal reports and no run errors were encountered, the job will pass.
-diff_sba=0
-diff_param=0
-diff_report=0
# SHORT_TEST_SUITE_ENCODER does not contain test_sba.py. This leads to non-existing output folders being compared and to diff_sba=1. Therefore, this is skipped for the encoder tests
-if [ "$TEST_SUITE" != "$SHORT_TEST_SUITE_ENCODER" ]; then