Commit c00c551e authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

do not treat corridor mismatch as failure when filters are active

parent 7103074a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1547,12 +1547,13 @@ class MLDConformance:
            ref_count = refMLD.shape[0]
            dut_count = dutMLD.shape[0]
            # If filters are active, frame count mismatch is expected (DUT has fewer tests than reference).
            # Skip the warning in this case.
            # Skip the warning and don't treat it as a failure in this case.
            if getattr(self.args, "filter_display", None):
                skip_msg = (
                    f"[{tag}] Corridor comparison skipped (filtered test set: ref_count={ref_count}, dut_count={dut_count})"
                )
                self.appendRunlog(context=skip_msg)
                corridor_failed = False
            else:
                ref_preview = ", ".join(refTags[:3]) if ref_count else "<empty>"
                dut_preview = ", ".join(dutTags[:3]) if dut_count else "<empty>"