Commit 7103074a authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

suppress corridor comparison warning when filters are active

parent 51587a69
Loading
Loading
Loading
Loading
+17 −9
Original line number Diff line number Diff line
@@ -1546,6 +1546,14 @@ class MLDConformance:
        else:
            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.
            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)
            else:
                ref_preview = ", ".join(refTags[:3]) if ref_count else "<empty>"
                dut_preview = ", ".join(dutTags[:3]) if dut_count else "<empty>"
                warn_msg = (