From 5e20413b60e3be6deb82478b6de37d8efcf15808 Mon Sep 17 00:00:00 2001 From: Erik Norvell Date: Thu, 25 Sep 2025 13:57:20 +0200 Subject: [PATCH] Add disable HRTF functionality to codec-smoke-test --- main-basop.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/main-basop.yml b/main-basop.yml index 22efc45..e51058c 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" -- GitLab