Commit 5e20413b authored by norvell's avatar norvell
Browse files

Add disable HRTF functionality to codec-smoke-test

parent 63bbf925
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -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"