Commit 2f932b6b authored by Jan Kiene's avatar Jan Kiene
Browse files

print git commit of basop code in smoke test compat job

parent d095c38a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1470,8 +1470,7 @@ codec-smoke-test-basop:
    ]
  script:
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh
    # the "coverage" argument actually means "do not build again with instrumentation, but use the existing binaries"
    - bash ci/smoke_test.sh coverage
    - bash ci/smoke_test.sh

# from float
# check for crashes if first received frame on decoder side is an SID
+10 −0
Original line number Diff line number Diff line
@@ -441,6 +441,16 @@ basop-compat-smoke-test:
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/float/build-binaries-from-basop-repo.sh main
    # the "coverage" argument actually means "do not build again with instrumentation, but use the existing binaries"
    - bash ci/smoke_test.sh coverage
  artifacts:
    name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--job-$CI_JOB_NAME--results"
    expire_in: 1 week
    when: always
    paths:
      - smoke_test_output.txt
      - smoke_test_output_jbm.txt
      - smoke_test_output_hrtf.txt
      - ivas-basop-commit-sha.txt
    expose_as: "Smoke test results"

# code selftest testvectors with memory-sanitizer binaries
codec-msan:
+7 −1
Original line number Diff line number Diff line
@@ -9,14 +9,20 @@ fi

branchname=$1
clone_dir="ivas-basop"
commit_file="ivas-basop-commit-sha.txt"

cd "${CI_PROJECT_DIR}"

git clone -b $branchname https://forge.3gpp.org/rep/sa4/audio/ivas-basop.git --single-branch --depth 1 $clone_dir

make -C $clone_dir -j
pushd $clone_dir
git rev-parse HEAD >"$commit_file"
echo "Building BASOP codec @ $(git rev-parse HEAD)"
make -j
popd

cp $clone_dir/IVAS_cod ./
cp $clone_dir/IVAS_dec ./
cp $clone_dir/IVAS_rend ./
cp $clone_dir/ISAR_post_rend ./
cp $clone_dir/$commit_file /.