Loading .gitlab-ci.yml +10 −7 Original line number Diff line number Diff line Loading @@ -475,7 +475,7 @@ ivas-smoke-test-saturation: - .test-job-linux-needs-testv-dir script: - USE_LTV=1 #- LEVEL_SCALING=32768 - LEVEL_SCALING=32768 - *print-common-info - *update-scripts-repo Loading @@ -494,12 +494,15 @@ ivas-smoke-test-saturation: - bash ci/smoke_test.sh ### analyze for failures - if ! [ -s smoke_test_output.txt ] || ! [ -s smoke_test_output_plc.txt ] || ! [ -s smoke_test_output_jbm_noEXT.txt ] || ! [ -s smoke_test_output_hrtf.txt ]; then echo "Error in smoke test"; exit 1; fi - ret_val=0 - if cat smoke_test_output.txt | grep -c "passed"; then echo "Smoke test without PLC passed"; ret_val=1; fi - if cat smoke_test_output_plc.txt | grep -c "passed"; then echo "Smoke test with PLC passed"; ret_val=1; fi - if cat smoke_test_output_jbm_noEXT.txt | grep -c "passed"; then echo "Smoke test JBM part passed"; ret_val=1; fi - if cat smoke_test_output_hrtf.txt | grep -c "passed"; then echo "Smoke test with external hrtf files passed"; ret_val=1; fi - exit $ret_val - ret_val=1 - ret_val2=1 - ret_val3=1 - ret_val4=1 - if cat smoke_test_output.txt | grep -c "failed" ; then echo "Smoke test without PLC failed"; ret_val=0; fi - if cat smoke_test_output_plc.txt | grep -c "failed"; then echo "Smoke test with PLC failed"; ret_val2=0; fi - if cat smoke_test_output_jbm_noEXT.txt | grep -c "failed"; then echo "Smoke test JBM part failed"; ret_val3=0; fi - if cat smoke_test_output_hrtf.txt | grep -c "failed"; then echo "Smoke test with external hrtf files failed"; ret_val4=0; fi - if [ $ret_val == 1 ] || [ $ret_val2 == 1 ] || [ $ret_val3 == 1 ] || [ $ret_val4 == 1 ]; then exit 1; else exit 0; fi artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" expire_in: 1 week Loading Loading
.gitlab-ci.yml +10 −7 Original line number Diff line number Diff line Loading @@ -475,7 +475,7 @@ ivas-smoke-test-saturation: - .test-job-linux-needs-testv-dir script: - USE_LTV=1 #- LEVEL_SCALING=32768 - LEVEL_SCALING=32768 - *print-common-info - *update-scripts-repo Loading @@ -494,12 +494,15 @@ ivas-smoke-test-saturation: - bash ci/smoke_test.sh ### analyze for failures - if ! [ -s smoke_test_output.txt ] || ! [ -s smoke_test_output_plc.txt ] || ! [ -s smoke_test_output_jbm_noEXT.txt ] || ! [ -s smoke_test_output_hrtf.txt ]; then echo "Error in smoke test"; exit 1; fi - ret_val=0 - if cat smoke_test_output.txt | grep -c "passed"; then echo "Smoke test without PLC passed"; ret_val=1; fi - if cat smoke_test_output_plc.txt | grep -c "passed"; then echo "Smoke test with PLC passed"; ret_val=1; fi - if cat smoke_test_output_jbm_noEXT.txt | grep -c "passed"; then echo "Smoke test JBM part passed"; ret_val=1; fi - if cat smoke_test_output_hrtf.txt | grep -c "passed"; then echo "Smoke test with external hrtf files passed"; ret_val=1; fi - exit $ret_val - ret_val=1 - ret_val2=1 - ret_val3=1 - ret_val4=1 - if cat smoke_test_output.txt | grep -c "failed" ; then echo "Smoke test without PLC failed"; ret_val=0; fi - if cat smoke_test_output_plc.txt | grep -c "failed"; then echo "Smoke test with PLC failed"; ret_val2=0; fi - if cat smoke_test_output_jbm_noEXT.txt | grep -c "failed"; then echo "Smoke test JBM part failed"; ret_val3=0; fi - if cat smoke_test_output_hrtf.txt | grep -c "failed"; then echo "Smoke test with external hrtf files failed"; ret_val4=0; fi - if [ $ret_val == 1 ] || [ $ret_val2 == 1 ] || [ $ret_val3 == 1 ] || [ $ret_val4 == 1 ]; then exit 1; else exit 0; fi artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" expire_in: 1 week Loading