diff --git a/main-basop.yml b/main-basop.yml index 22efc4503c9301c57d685954fa2e4b3cebd12dc7..e51058c3949de1d06b50bb93adceac9ae43d07a7 100644 --- a/main-basop.yml +++ b/main-basop.yml @@ -1453,7 +1453,14 @@ codec-smoke-test: - ret_val=0 - if cat smoke_test_output.txt | grep -c "failed"; then echo "Smoke test without JBM failed"; ret_val=1; fi - if cat smoke_test_output_jbm.txt | grep -c "failed"; then echo "Smoke test JBM part failed"; ret_val=1; fi - - if cat smoke_test_output_hrtf.txt | grep -c "failed"; then echo "Smoke test with external hrtf files failed"; ret_val=1; fi + - if cat smoke_test_output_hrtf.txt | grep -c "failed"; then + - if [ "$DISABLE_HRTF" = "false" ]; then + - echo "Smoke test with external hrtf files failed" + - ret_val=1 + - else + - echo "Smoke test with external hrtf files failed, but DISABLE_HRTF is set. Ignoring failure." + - fi + - fi - exit $ret_val artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results"