Loading ci/ivas_voip_be_test.sh +10 −3 Original line number Diff line number Diff line #! /usr/local/bin/bash #! /usr/bin/bash # (C) 2022 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB, # Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD., Loading Loading @@ -29,7 +29,7 @@ # the United Nations Convention on Contracts on the International Sales of Goods. # Configuration modes=('SBA_b128_wb_cbr' 'MC_7_1_b96_fb_cbr' 'ISM2_b48_fb_cbr' 'stereo_b32_128_fb_rs') modes=('SBA_b128_wb_cbr' 'MC_7_1_b96_fb_cbr' 'ISM2_b48_fb_cbr') output_formats=('STEREO' 'FOA' '7_1' 'HOA3') limit_input_to_x_seconds=30 Loading @@ -46,6 +46,13 @@ make all -j 8 ./scripts/runIvasCodec.py -p ./scripts/config/ci_linux.json -U $limit_input_to_x_seconds -m "${modes[@]}" --oc "${output_formats[@]}" -o $output_dir_default | tee jbm_be_test_output.txt ./scripts/runIvasCodec.py -p ./scripts/config/ci_linux.json -U $limit_input_to_x_seconds -m "${modes[@]}" --oc "${output_formats[@]}" -o $output_dir_voip -J "$network_profile_path" | tee -a jbm_be_test_output.txt # Check if Python scripts above failed. They return status 0 even when running a mode fails, so we have to parse log file run_errors=$(grep -i error jbm_be_test_output.txt) || true if [ "$run_errors" != 0 ] ; then echo "Run errors in runIvasCodec.py" exit 1 fi # Set up Python path python_audio_module_path=$(pwd)/scripts export PYTHONPATH=$python_audio_module_path:$PYTHONPATH Loading Loading @@ -101,5 +108,5 @@ if [ $all_be -eq 1 ]; then printf "\n\nAll tested conditions are bit-exact\n" | tee -a jbm_be_test_output.txt else printf "\n\nBitexactness problems found!\n" | tee -a jbm_be_test_output.txt exit 255; exit 1; fi Loading
ci/ivas_voip_be_test.sh +10 −3 Original line number Diff line number Diff line #! /usr/local/bin/bash #! /usr/bin/bash # (C) 2022 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB, # Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD., Loading Loading @@ -29,7 +29,7 @@ # the United Nations Convention on Contracts on the International Sales of Goods. # Configuration modes=('SBA_b128_wb_cbr' 'MC_7_1_b96_fb_cbr' 'ISM2_b48_fb_cbr' 'stereo_b32_128_fb_rs') modes=('SBA_b128_wb_cbr' 'MC_7_1_b96_fb_cbr' 'ISM2_b48_fb_cbr') output_formats=('STEREO' 'FOA' '7_1' 'HOA3') limit_input_to_x_seconds=30 Loading @@ -46,6 +46,13 @@ make all -j 8 ./scripts/runIvasCodec.py -p ./scripts/config/ci_linux.json -U $limit_input_to_x_seconds -m "${modes[@]}" --oc "${output_formats[@]}" -o $output_dir_default | tee jbm_be_test_output.txt ./scripts/runIvasCodec.py -p ./scripts/config/ci_linux.json -U $limit_input_to_x_seconds -m "${modes[@]}" --oc "${output_formats[@]}" -o $output_dir_voip -J "$network_profile_path" | tee -a jbm_be_test_output.txt # Check if Python scripts above failed. They return status 0 even when running a mode fails, so we have to parse log file run_errors=$(grep -i error jbm_be_test_output.txt) || true if [ "$run_errors" != 0 ] ; then echo "Run errors in runIvasCodec.py" exit 1 fi # Set up Python path python_audio_module_path=$(pwd)/scripts export PYTHONPATH=$python_audio_module_path:$PYTHONPATH Loading Loading @@ -101,5 +108,5 @@ if [ $all_be -eq 1 ]; then printf "\n\nAll tested conditions are bit-exact\n" | tee -a jbm_be_test_output.txt else printf "\n\nBitexactness problems found!\n" | tee -a jbm_be_test_output.txt exit 255; exit 1; fi