### backup testvectors from source branch before switching to arget branch -> makes sure that up-to-date testv folder is used in case the branch makes changes to it
#- cp -r scripts/testv scripts/testv.bak
### store the current commit hash
-source_branch_commit_sha=$(git rev-parse HEAD)
### checkout version to compare against
# first delete local target branch to avoid conflicts when branch is cached and there are merge conflicts during fetching
@@ -130,11 +130,8 @@ self-test-on-merge-request:
-mv IVAS_dec ../IVAS_dec_ref
-cd ..
# TODO: instead check out the source commit again
### restore testv folder from branch
#- rm -rf scripts/testv
#- cp -r scripts/testv.bak scripts/testv
-git checkout $CI_MERGE_REQUEST_REF_PATH
### re-checkout the commit from the source branch to have up-to-date self_test.py and scripts/testv (and actually everything)