Commit 0477dc5e authored by Jan Kiene's avatar Jan Kiene
Browse files

Merge branch 'kiene/test-split-complexity-graphs' into kiene/test-split-complexity-graphs-3

parents 38e386ef 53e2bb7e
Loading
Loading
Loading
Loading
Loading
+19 −3
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ variables:
  REF_DECODER_PATH: "./IVAS_dec_ref"
  LEVEL_SCALING: "1.0"
  IVAS_PIPELINE_NAME: ''
  BASOP_CI_BRANCH_PC_REPO: "basop-ci-branch"
  BASOP_CI_BRANCH_PC_REPO: "ci/split-complexity-graph-by-levels"
  PRM_FILES: "scripts/config/self_test.prm scripts/config/self_test_ltv.prm"
  TESTCASE_TIMEOUT_STV: 900
  TESTCASE_TIMEOUT_LTV: 2400
@@ -1253,8 +1253,24 @@ voip-be-on-merge-request:
  - 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
  - if [[ -d $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
  -   wmops_all_global="${public_dir}/log_wmops_all.txt"
  -   ram_all_global="${public_dir}/log_ram_all.txt"
  -   if [ -f "${wmops_all_global}" ] && [ ! -f "${public_dir}/log_wmops_all_level_1.txt" ]; then
  -     for suffix in "level_1 level_2 level_3 rate_sw"; do
  -       cp ${wmops_all_global} ${public_dir}/log_wmops_all_{suffix}.txt
  -       cp ${ram_all_global} ${public_dir}/log_ram_all_{suffix}.txt
  -     done
  -   fi
  - fi

  - ls wmops
  - rm artifacts.zip
  - rm -rf $public_dir
@@ -1271,7 +1287,7 @@ voip-be-on-merge-request:
  &complexity-measurements-prepare-artifacts # prepare artifacts -> move to public directory
  - public_dir="$CI_JOB_NAME-public"
  - mkdir $public_dir
  - mv -f wmops/log_*_all.txt ./*.js ${public_dir}/
  - mv -f wmops/log_*_all*.txt ./*.js ${public_dir}/
  # move logfiles for links
  - mkdir $public_dir/logs
  # first move logs