# SHORT_TEST_SUITE_ENCODER does not contain test_sba.py. This leads to non-existing output folders being compared and to diff_sba=1. Therefore, this is skipped for the encoder tests
-if [ "$TEST_SUITE" != "$SHORT_TEST_SUITE_ENCODER" ]; then
# TODO: remove. This is a hack to try out if the complexity history can be brought back.
# hack: explicitly set the id of the last succesful job which has all the artifacts
# this will only work for stereo, but just to try out if things work at all...
# this is a testing/maintenance mechanism to force getting the log history from a specific job id
# see below in the concrete complexity jobs
-if [ "$JOB_ID_INJECT" != "" ]; then job_id=$JOB_ID_INJECT; fi
-curl --request GET "https://forge.3gpp.org/rep/api/v4/projects/$CI_PROJECT_ID/jobs/$job_id/artifacts" --output artifacts.zip
-unzip artifacts.zip || true# this may fail on first run, when there are no artifacts there and the zip file is actually just "404"-html
-ls
-public_dir="$CI_JOB_NAME-public"
# if is needed to catch case when no artifact is there (first run), similarly as above
-if [[ -d $public_dir ]]; then mv $public_dir/* wmops/; fi
# 1. check for public_dir being there as this might not be the case when artifact download failed
# 2. check for public dir not being empty - handle job failures in prev job that happen after the dir is created. In that case, the empty dir is in the artifacts
-if [ -d $public_dir ] && [ ! -z "$( ls -A $public_dir )" ]; then
-mv $public_dir/* wmops/
# check here if we have the split-by-levels files present - if not, fake them up with the existing global one
# this is needed for the first run with split graphs on a branch where the global version did run previously
# NOTE: checking only for level_1 file here as this should already be sufficient
# NOTE2: also not chechking for RAM for same reason
<!--- Remember to add issue and MR links to the status page in wiki here https://forge.3gpp.org/rep/sa4/audio/ivas-basop/-/wikis/IVAS-PC-MR-conversion-status -->