Commit 872c1d4b authored by TYAGIRIS's avatar TYAGIRIS
Browse files

backport some conformance changes from SA4 package to main

parent 03e3344c
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -42,18 +42,23 @@ It might be required to set Clang-18 as the default clang on the machine
  sudo apt install python3.13 python3.13-venv
  ```


## Run CUT tests on Target platform

Running the conformance tests requires around 30 gb of disk space and around 6 gb of RAM space.

To run CUT binaries on the targeted platform, it is necessary to have the correct setup for python and dependency packages. 

- Create virtual environment for Python 3.13 and install requirements

  ```shell
  python3.13 -m venv pyConformance
  source pyConformance/bin/activate
  cd ivas-codec
  python -m pip install -r tests/requirements.txt
  python -m pip install -r scripts/ivas_conformance/requirements.txt
  ```

## Run CUT tests on Target platform

To run CUT binaries on the targeted platform, it is necessary to replicate the initial setup for python and dependency packages. The CUT build of the IVAS binaries should be made available in a selected folder and needed for the next step
The CUT build of the IVAS binaries should be made available in a selected folder and needed for the next step

To run IVAS DUT commands on the TARGET platform (may be different from ubuntu/linux)

+6 −2
Original line number Diff line number Diff line
@@ -251,6 +251,10 @@ class MLDConformance:
        self.cut_build_path = args.cut_build_path
        self.filter = args.filter
        exe_platform = platform.system()
        if exe_platform == "Windows":
            exe_platform = "Win64"
        self.wavdiffbin = os.path.join(self.toolsdir, exe_platform, "wav-diff")
        if not os.path.exists(self.wavdiffbin):
            if exe_platform == "Windows":
                exe_platform = "Win32"  
                self.wavdiffbin = os.path.join(self.toolsdir, exe_platform, "wav-diff")          
@@ -910,7 +914,7 @@ class MLDConformance:
                else:
                    print(f"<{tag}> PASSED BE TEST")

    def computeCorridor(self, mldRefWithTags, mldCutWithTags, tag, threshold=0.0):
    def computeCorridor(self, mldRefWithTags, mldCutWithTags, tag, threshold=0.1):
        mldDict = dict[str, list]()
        failed = False