OpenSTA/liberty/test
Jaehyun Kim 3ca78b11c8 Adapt test files to upstream API changes (string_view migration)
Update 16 test files to match upstream OpenSTA API refactoring:
- const char* → std::string/std::string_view across all test APIs
- EXPECT_STREQ → EXPECT_EQ for std::string/string_view returns
- nullptr → "" for string_view parameters (makeClock, makeClockGroups, etc.)
- PropertyValue("literal") → PropertyValue(std::string("literal")) to avoid
  bool constructor overload resolution
- Method renames: relatedGroundPin→relatedGroundPort,
  relatedPowerPin→relatedPowerPort, firstName→firstParam,
  secondName→secondParam
- Constructor changes: OperatingConditions (5-arg → 1-arg + setters),
  ModeDef::defineValue (3-arg → 1-arg + setSdfCond)
- LibertyAttrValue::floatValue returns std::pair<float,bool> now
- Filter API: separate args → single expression string + bool_props_as_int
- SDF version golden files: 3.0.1 → 3.1.0

All 6104 tests pass.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
2026-03-31 16:34:40 +09:00
..
cpp Adapt test files to upstream API changes (string_view migration) 2026-03-31 16:34:40 +09:00
CMakeLists.txt test: Add comprehensive test infrastructure and test cases across all OpenSTA modules 2026-02-27 12:59:25 +09:00
liberty_arc_model_deep.ok test: Apply review feedback - part1 2026-02-19 23:30:23 +09:00
liberty_arc_model_deep.tcl Merge upstream STA update and adapt all tests to new API 2026-02-23 23:05:29 +09:00
liberty_busport_mem_iter.ok test: harden module Tcl coverage tests 2026-02-24 14:08:56 +09:00
liberty_busport_mem_iter.tcl test: harden module Tcl coverage tests 2026-02-24 14:08:56 +09:00
liberty_ccsn.ok test: Fix post-merge build errors and regolden .ok files 2026-03-11 17:11:08 +09:00
liberty_ccsn.tcl test: Apply review feedback - part1 2026-02-19 23:30:23 +09:00
liberty_cell_classify_pgpin.ok test: Apply review feedback - part1 2026-02-19 23:30:23 +09:00
liberty_cell_classify_pgpin.tcl test: Remove unnecessary catch blocks from Tcl tests across all modules 2026-02-20 21:07:40 +09:00
liberty_cell_deep.ok test: Fix post-merge build errors and regolden .ok files 2026-03-11 17:11:08 +09:00
liberty_cell_deep.tcl test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
liberty_cell_deep_write.libok test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
liberty_clkgate_lvlshift.ok test: Fix post-merge build errors and regolden .ok files 2026-03-11 17:11:08 +09:00
liberty_clkgate_lvlshift.tcl test: Remove unnecessary catch blocks from Tcl tests across all modules 2026-02-20 21:07:40 +09:00
liberty_ecsm.lib test: load ECSM liberty from checked-in file 2026-02-22 20:37:11 +09:00
liberty_ecsm.ok test: harden module Tcl coverage tests 2026-02-24 14:08:56 +09:00
liberty_ecsm.tcl test: harden module Tcl coverage tests 2026-02-24 14:08:56 +09:00
liberty_ecsm_test.v test: harden module Tcl coverage tests 2026-02-24 14:08:56 +09:00
liberty_equiv_cells.ok test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 17:36:45 +09:00
liberty_equiv_cells.tcl test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 17:36:45 +09:00
liberty_equiv_cross_lib.ok Merge upstream STA update and adapt all tests to new API 2026-02-23 23:05:29 +09:00
liberty_equiv_cross_lib.tcl test: Remove unnecessary catch blocks from Tcl tests across all modules 2026-02-20 21:07:40 +09:00
liberty_equiv_deep.ok test: Apply review feedback - part1 2026-02-19 23:30:23 +09:00
liberty_equiv_deep.tcl test: Apply review feedback - part1 2026-02-19 23:30:23 +09:00
liberty_equiv_map_libs.ok test: Apply review feedback - part1 2026-02-19 23:30:23 +09:00
liberty_equiv_map_libs.tcl test: Apply review feedback - part1 2026-02-19 23:30:23 +09:00
liberty_func_expr.ok test: Fix post-merge build errors and regolden .ok files 2026-03-11 17:11:08 +09:00
liberty_func_expr.tcl test: Apply review feedback - part1 2026-02-19 23:30:23 +09:00
liberty_leakage_power_deep.ok test: Fix post-merge build errors and regolden .ok files 2026-03-11 17:11:08 +09:00
liberty_leakage_power_deep.tcl test: Remove unnecessary catch blocks from Tcl tests across all modules 2026-02-20 21:07:40 +09:00
liberty_multi_corner.ok test: Fix post-merge build errors and regolden .ok files 2026-03-11 17:11:08 +09:00
liberty_multi_corner.tcl test: Apply review feedback - part1 2026-02-19 23:30:23 +09:00
liberty_multi_lib_equiv.ok test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 17:36:45 +09:00
liberty_multi_lib_equiv.tcl test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 17:36:45 +09:00
liberty_opcond_scale.ok Merge upstream STA update and adapt all tests to new API 2026-02-23 23:05:29 +09:00
liberty_opcond_scale.tcl test: remove empty if-bodies and meaningless status prints 2026-02-22 23:43:31 +09:00
liberty_pgpin_voltage.ok test: Fix post-merge build errors and regolden .ok files 2026-03-11 17:11:08 +09:00
liberty_pgpin_voltage.tcl test: harden module Tcl coverage tests 2026-02-24 14:08:56 +09:00
liberty_power.ok test: Apply review feedback - part1 2026-02-19 23:30:23 +09:00
liberty_power.tcl test: Remove unnecessary catch blocks from Tcl tests across all modules 2026-02-20 21:07:40 +09:00
liberty_properties.ok test: Fix post-merge build errors and regolden .ok files 2026-03-11 17:11:08 +09:00
liberty_properties.tcl test: Apply review feedback - part1 2026-02-19 23:30:23 +09:00
liberty_read_asap7.ok test: Fix post-merge build errors and regolden .ok files 2026-03-11 17:11:08 +09:00
liberty_read_asap7.tcl test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
liberty_read_ihp.ok test: Fix post-merge build errors and regolden .ok files 2026-03-11 17:11:08 +09:00
liberty_read_ihp.tcl test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
liberty_read_nangate.ok test: Fix test failures after master merge 2026-03-11 10:16:27 +09:00
liberty_read_nangate.tcl test: Add comprehensive test infrastructure and test cases across all OpenSTA modules 2026-02-27 12:59:25 +09:00
liberty_read_sky130.ok test: Apply review feedback - part1 2026-02-19 23:30:23 +09:00
liberty_read_sky130.tcl test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
liberty_roundtrip_asap7_invbuf.libok test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
liberty_roundtrip_asap7_seq.libok test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
liberty_roundtrip_asap7_simple.libok test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
liberty_roundtrip_fakeram.libok test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
liberty_roundtrip_ihp.libok test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
liberty_roundtrip_nangate.libok test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
liberty_roundtrip_sky130.libok test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
liberty_scan_signal_types.ok test: Fix post-merge build errors and regolden .ok files 2026-03-11 17:11:08 +09:00
liberty_scan_signal_types.tcl test: Remove unnecessary catch blocks from Tcl tests across all modules 2026-02-20 21:07:40 +09:00
liberty_seq_scan_bus.ok test: Remove unnecessary catch blocks from Tcl tests across all modules 2026-02-20 21:07:40 +09:00
liberty_seq_scan_bus.tcl test: remove empty if-bodies and meaningless status prints 2026-02-22 23:43:31 +09:00
liberty_sky130_corners.ok test: Fix post-merge build errors and regolden .ok files 2026-03-11 17:11:08 +09:00
liberty_sky130_corners.tcl test: harden module Tcl coverage tests 2026-02-24 14:08:56 +09:00
liberty_timing_models.ok test: Fix post-merge build errors and regolden .ok files 2026-03-11 17:11:08 +09:00
liberty_timing_models.tcl test: Apply review feedback - part1 2026-02-19 23:30:23 +09:00
liberty_timing_types_deep.ok test: Fix post-merge build errors and regolden .ok files 2026-03-11 17:11:08 +09:00
liberty_timing_types_deep.tcl test: Apply review feedback - part3 2026-02-20 13:05:07 +09:00
liberty_wireload.ok test: Improve test assertions and stabilize multimodule write test 2026-02-22 19:25:58 +09:00
liberty_wireload.tcl test: Improve test assertions and stabilize multimodule write test 2026-02-22 19:25:58 +09:00
liberty_write_roundtrip.ok Merge upstream STA update and adapt all tests to new API 2026-02-23 23:05:29 +09:00
liberty_write_roundtrip.tcl test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
liberty_writer.ok test: Fix post-merge build errors and regolden .ok files 2026-03-11 17:11:08 +09:00
liberty_writer.tcl test: harden module Tcl coverage tests 2026-02-24 14:08:56 +09:00
liberty_writer_roundtrip.ok Merge upstream STA update and adapt all tests to new API 2026-02-23 23:05:29 +09:00
liberty_writer_roundtrip.tcl test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
liberty_writer_rt1.libok test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
liberty_writer_rt_sky.libok test: strengthen assertions, add sorted SDC diff, and clean up tests 2026-02-23 11:50:23 +09:00
regression test: Add comprehensive test infrastructure and test cases across all OpenSTA modules 2026-02-27 12:59:25 +09:00
save_ok test: Add comprehensive test infrastructure and test cases across all OpenSTA modules 2026-02-27 12:59:25 +09:00
sky130_corners_test.v test: Apply review feedback - part1 2026-02-19 23:30:23 +09:00