Files
OpenSTA/util/test/util_msg_suppress.tcl
T
Jaehyun KimandClaude Opus 4.6 b6d598a119 test: strengthen assertions, add sorted SDC diff, and clean up tests
- Add diff_files_sorted to test/helpers.tcl for hash-order-independent
  SDC comparison (fixes non-deterministic write_sdc output ordering)
- Use diff_files_sorted in sdc_derate_disable_deep and
  sdc_port_delay_advanced tests
- Remove stale coverage percentages from test comments (Comment 1)
- Remove unnecessary catch blocks in search property tests (Comment 3)
- Strengthen load-only tests with actual data verification (Comment 8)
- Remove orphan .ok files for deleted monolithic tests (Comment 9)
- Add golden .sdcok/.libok/.vok/.sdfok files for SDC/liberty/verilog
  write-and-diff tests
- Add -B (clean rebuild) option to make_coverage_report.sh
- Replace (void) casts and EXPECT_TRUE(true) with real assertions in
  TestSdc.cc and TestVerilog.cc

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Signed-off-by: Jaehyun Kim <[email protected]>
2026-02-23 11:50:23 +09:00

24 lines
668 B
Tcl

# Test message suppress/unsuppress
# suppress_msg and unsuppress_msg take message IDs as arguments
suppress_msg 999
unsuppress_msg 999
# Test with multiple IDs
suppress_msg 100 200
unsuppress_msg 100 200
# Verify command flow remains functional after suppression changes.
with_output_to_variable units_before { report_units }
if {[string length $units_before] == 0} {
error "report_units unexpectedly empty before suppress/unsuppress checks"
}
suppress_msg 10 11 12
unsuppress_msg 10 11 12
with_output_to_variable units_after { report_units }
if {[string length $units_after] == 0} {
error "report_units unexpectedly empty after suppress/unsuppress checks"
}