-if [ $commits_behind_count -ne 0 ]; then echo "Your branch is not up-to-date with main -> Compare tests will not run as they can contain false negatives this way.\nMain might have changed during your pipeline run. Run 'git merge origin/main' to update."; exit 1; fi
-if [ $commits_behind_count -eq 0 ]; then exit 0; else echo "Your branch is behind main, possibly main changed during your pipeline run, run 'git merge origin/main' to update." exit 1; fi;
# Run the same modes in VoIP and non-VoIP mode with a neutral delay profile
./scripts/runIvasCodec.py -p$cfg$WORKERS-U$limit_input_to_x_seconds-m"${modes[@]}"--oc"${output_formats[@]}"-o$output_dir_default | tee voip_be_test_output.txt
./scripts/runIvasCodec.py $verbosity_cmd-p$cfg$WORKERS-U$limit_input_to_x_seconds-m"${modes[@]}"--oc"${output_formats[@]}"-o$output_dir_default | tee voip_be_test_output.txt
echo"\n======================= 4. JBM, modes with no EXT =======================\n\n"
./scripts/runIvasCodec.py -m$modes_with_no_ext_out-p$cfg$duration_arg$WORKERS--decoder_only--jbm_file$dly_profile | tee smoke_test_output_jbm_noEXT.txt
./scripts/runIvasCodec.py $verbosity_cmd-m$modes_with_no_ext_out-p$cfg$duration_arg$WORKERS--decoder_only--jbm_file$dly_profile | tee smoke_test_output_jbm_noEXT.txt
echo"\n======================= 5. JBM, modes with EXT =======================\n\n"