mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-09-03 01:43:33 +02:00
- 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]>
24 lines
668 B
Tcl
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"
|
|
}
|