Commit fc7fd75b authored by norvell's avatar norvell
Browse files

Merge branch 'main' into 'basop-ci-branch'

[BASOP CI] Update basop-ci-branch with MLD handling for ISM metadata in test_param_file.py

See merge request !1370
parents 7960d452 659d2329
Loading
Loading
Loading
Loading
+13 −10
Original line number Diff line number Diff line
@@ -352,6 +352,10 @@ def test_param_file_tests(
                    print(f"REF output metadata missing for expected file: " + md_file)
                metadata_differs = True

        if get_mld and get_mld_lim > 0:
            if output_differs:
                pytest.fail(reason)   
        else:
            if output_differs or metadata_differs:
                msg = "Difference between ref and dut in "
                if output_differs and metadata_differs:
@@ -360,7 +364,6 @@ def test_param_file_tests(
                    msg += f"output only ({reason})"
                elif metadata_differs:
                    msg += "metadata only"

                pytest.fail(msg)

        # remove DUT output files when test result is OK (to save disk space)