Commit 659d2329 authored by norvell's avatar norvell
Browse files

Merge branch 'ci/mld-for-ism-ext' into 'main'

[BASOP CI] Ignore metadata diff in case get_mld is set and mld_lim > 0

See merge request !1369
parents 2f7b6933 5565964e
Loading
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)