This folder contains scripts for running IVAS conformance tests. This is a placeholder file for instructions.
This folder contains scripts for running IVAS conformance tests.
no-BE conformance USAGE
## Setup for Reference Platform
Following CMDs needs to be executed from ivas-codec root folder:
Reference platform is Ubuntu 24.04
################generate testvec package and encoder refs (temporary step to obtain testvec package, this step will be removed in final delivery) ############
zip -r conformance.zip testvec scripts/ivas_conformance scripts/tools
```
</details>
## 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
To run IVAS DUT commands on the TARGET platform (may be different from ubuntu/linux)
<summary>Example Output of CUT execution</summary>
<pre><code>
Accumulating commands from Readme_IVAS_dec.txt
Accumulating commands from Readme_IVAS_rend.txt
Accumulating commands from Readme_IVAS_enc.txt
Accumulating commands from Readme_IVAS_ISAR_post_rend.txt
Accumulating commands from Readme_IVAS_ISAR_dec.txt
Accumulating commands from Readme_IVAS_JBM_dec.txt
No of tests :
ENC : 381
DEC : 637
REND : 666
ISAR_ENC : 1032
ISAR : 1032
Executing tests for ENC (381 tests)
Executing tests for DEC (637 tests)
Executing tests for REND (666 tests)
Executing tests for ISAR_ENC (1032 tests)
Executing tests for ISAR (1032 tests)
</code></pre>
</details>
This should generate outputs in scripts/CUT_OUTPUTS folder which looks like below:-
```shell
CUT_OUTPUTS
+- runlog.txt : Dump of all the commands run and the outputs (mostly jumbled up due to multiprocessing)
+- failedCmds.txt : Log of all the shell commands that failed execution
+- dec/ : Folder containing all decoder tests CUT outputs
+- enc/ : Folder containing all encoder tests CUT outputs
+- renderer_short/ : Folder containing all renderer tests CUT outputs
+- split_rendering/ : Folder containing all split rendering enc/dec tests
```
## Perform the MLD based analysis on the CUT outputs on reference platform (Ubuntu 24.04)
If CUT test execution is done on a different platform, the scripts/CUT_OUTPUTS must be copied and provided in the reference platform's scripts/CUT_OUTPUTS. Then the following command is used to perform MLD based analysis on the same, encoded outputs will be implicitly decoded using reference decoder executables and MLD analysis performed on the reference decoded outputs.
All CUT tests can be run specifically for IVAS Encoder,IVAS Decoder,IVAS Renderer, ISAR Encoder and ISAR Decoder only. The commandline allows for ```-test-mode=<PARAM>``` for this functionality, examples : -
- Run DUT IVAS Encoder Tests Only (on Target Platform)