Commit 0e09743f authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

try fixing argument expansion again

parent d44669d9
Loading
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -29,7 +29,6 @@ loudness-measurement:
    - echo "Using config ${CONFIG_JSON}"
    - echo "Using output configs ${OUT_CONFIGS}"
    - git clone --single-branch --branch main https://gitlab-ci-token:${CI_JOB_TOKEN}@forge.3gpp.org/rep/ivas-codec-pc/ivas-processing-scripts.git
    # if the user selects the LTV config, copy the LTV files to a tmpdir and use a script to update the metadata file naming
    - |
      if [[ "$CONFIG_JSON" == "scripts/config/ci_linux_ltv.json" ]]; then
        TEMP_LTV_DIR=$(mktemp -d)
@@ -40,11 +39,12 @@ loudness-measurement:
      fi
    - make -j
    - |
      EXTRA_ARGS=""
      [ -n "${OUT_CONFIGS}" ] && EXTRA_ARGS="${EXTRA_ARGS} --oc ${OUT_CONFIGS}"
      [ -n "${DEC_OPTS}" ] && EXTRA_ARGS="${EXTRA_ARGS} -D=${DEC_OPTS}"
      OC_ARG=""
      [ -n "${OUT_CONFIGS}" ] && OC_ARG="--oc ${OUT_CONFIGS}"
      DEC_ARG=""
      [ -n "${DEC_OPTS}" ] && DEC_ARG="-D=${DEC_OPTS}"
      for fmt in ${FORMAT_LIST}; do
        ./scripts/runIvasCodec.py -z console -p "${CONFIG_JSON}" -x "${fmt}_b${FLT_SUFFIX}" ${EXTRA_ARGS} | tee -a smoke_test_output.txt
        ./scripts/runIvasCodec.py -z console -p "${CONFIG_JSON}" -x "${fmt}_b${FLT_SUFFIX}" ${OC_ARG} "${DEC_ARG}" | tee -a smoke_test_output.txt
      done
    - ./scripts/get_loudness_data.py ${CONFIG_JSON} --formats ${FORMAT_LIST}