Commit 7ec741b7 authored by Jan Kiene's avatar Jan Kiene
Browse files

add job and return value for runIvasCodec.py

parent 2ef9e79d
Loading
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -597,6 +597,24 @@ clang-format-check:
    name: "$ARTIFACT_BASE_NAME"
    expose_as: 'formatting patch'

# check for crashes if first received frame on decoder side is an SID
check-first-frame-is-sid:
  extends:
    - .test-job-linux
  tags:
    - ivas-linux
  stage: test
  needs: ["build-codec-linux-cmake"]
  script:
    - *print-common-info
    - mkdir
    - cmake .
    - make -j

    # TODO: add SBA 24.4 kbps back once #185 is fixed
    - modes=$(scripts/runIvasCodec.py -l | grep dtx | grep -v "SBA_b24_4")
    - scripts/runIvasCodec.py -p scripts/config/ci_linux_ltv.json -m $modes -s -bs_length 50

# ---------------------------------------------------------------
# Test jobs for main branch
# ---------------------------------------------------------------
+4 −0
Original line number Diff line number Diff line
@@ -143,6 +143,10 @@ class RunIvasCodec(IvasScriptsCommon.IvasScript):
            self.logger.console(r[0])
        self.logger.console(" ")

        encs_failed = len(runner.failed_modes["enc"]) > 0
        decs_failed = len(runner.failed_modes["dec"]) > 0
        return encs_failed or decs_failed


if __name__ == "__main__":
    script = RunIvasCodec()