dsengupta0628
3115b1a2e5
coverity and tag and scene doc
...
Signed-off-by: dsengupta0628 <[email protected] >
2026-07-08 20:02:44 +00:00
dsengupta0628
7c2f746185
latest from 06/09 codes parallaxsw/OpensSTA
...
Signed-off-by: dsengupta0628 <[email protected] >
2026-06-09 17:43:53 +00:00
dsengupta0628
1475ab0fae
upstream changes 5/14 plus fix report generic field
...
Signed-off-by: dsengupta0628 <[email protected] >
2026-05-14 21:01:39 +00:00
dsengupta0628
c2b629d751
test codes updated to compile succesfully with new changes in upstream
...
Signed-off-by: dsengupta0628 <[email protected] >
2026-04-20 14:47:52 +00:00
dsengupta0628
37520c08d2
changes to show original name of pins in path report for mbff clustered flops
...
Signed-off-by: dsengupta0628 <[email protected] >
2026-04-08 15:39:18 +00:00
Jaehyun Kim
1170781f9a
Merge remote-tracking branch 'origin/master' into secure-test-suite-cleanup
...
Signed-off-by: Jaehyun Kim <[email protected] >
2026-04-05 22:42:35 +09:00
dsengupta0628
43177bba8f
more to fix
...
Signed-off-by: dsengupta0628 <[email protected] >
2026-04-05 00:38:29 +00:00
Jaehyun Kim and Claude
a1c1685c04
Clean up test suite per 3-way code review findings
...
- Remove temp files: network_gcd_traversal.log, util_report_redirect.log
- Delete 19 comment-only C++ test stubs (dead code for removed APIs)
- Remove redundant graph_make_verify test (covered by graph_advanced)
- Centralize assert_file_nonempty/assert_file_contains into test/helpers.tcl
and remove inline copies from 17 verilog test files
- Fix Build.sh stray quotes in heredoc output
- Fix regression.sh unquoted variable expansions
- Update .gitignore: add */test/*.log and Testing/
All 6087 tests pass.
Co-Authored-By: Claude <[email protected] >
Signed-off-by: Jaehyun Kim <[email protected] >
2026-04-02 22:27:27 +09:00
Jaehyun Kim and Claude
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 <[email protected] >
Signed-off-by: Jaehyun Kim <[email protected] >
2026-03-31 16:34:40 +09:00
Jaehyun Kim and Claude
434246a8b4
Fix test suite for upstream API changes after merge
...
Adapt all C++ and Tcl tests for upstream API refactoring:
- Header rename: DelayFloat.hh -> Delay.hh
- PocvMode enum replacing boolean pocv (setPocvEnabled -> setPocvMode)
- setReportPathFields gains 8th parameter (report_src_attr)
- GateTableModel/CheckTableModel constructor wraps in TableModels
- gateDelay/checkDelay signature changes (bool -> MinMax/PocvMode)
- Unit::asString returns std::string instead of const char*
- ExceptionThru/To::asString removed, use to_string
- GroupPath/FilterPath/LoopPath::asString removed
- PathEnd::source_clk_delay -> source_clk_latency
- report_net -connections flag removed
- set_report_path_field_width removed
- MaxSkewCheck::skew() now requires sta parameter
- Remove tests that pass nullptr to PinIdHash-based maps (segfault)
- Remove tests for removed APIs (sigmaFactor, reportSigmas)
- Regolden .ok files for numerical precision and format changes
Co-Authored-By: Claude <[email protected] >
Signed-off-by: Jaehyun Kim <[email protected] >
2026-03-21 19:23:36 +09:00
Jaehyun Kim
e7b861051d
test: Fix post-merge build errors and regolden .ok files
...
After merging upstream changes, fix all build errors in C++ test files
and regolden Tcl test golden files to match updated code output.
Build fixes:
- dcalc/test/cpp/TestDcalc.cc: Fix const char* loop iterations, use
EXPECT_NEAR for uninitialized subnormal float comparison
- liberty/test/cpp/TestLibertyStaBasicsB.cc: Wrap tests using removed
LibertyBuilder() default constructor in #if 0
- liberty/test/cpp/TestLibertyStaCallbacks.cc: Fix LibertyBuilder()
call to use sta_->debug()/report(); wrap old visitor tests in #if 0
- search/test/cpp/TestSearchStaDesignB.cc: Fix pg->name() nullptr
comparison (now returns std::string&)
- search/test/cpp/TestSearchStaInit.cc: Fix 5 clkPinsInvalid/isIdealClock
tests to expect throw (API now requires linked network)
Tcl test fixes:
- Remove calls to removed APIs: report_path_end_header/footer, report_path_end2
from 6 search test scripts; regolden their .ok files
- Regolden .ok files for liberty (15), graph (1), network (8),
parasitics (3), sdc (3), util (2), verilog (8) modules to reflect
upstream format changes (timing arcs output, pin ordering, spacing)
All 6103 tests now pass.
Signed-off-by: Jaehyun Kim <[email protected] >
2026-03-11 17:11:08 +09:00
Jaehyun Kim and Claude Opus 4.6
8adbcc0d6d
Merge upstream STA update and adapt all tests to new API
...
Major upstream refactoring: Corner→Scene, Mode architecture, warning
format change (Warning ID:), command renames, and many API signature
changes. Adapted all C++ test files and TCL test scripts/expected
output files to pass with the new API. 6159/6159 tests pass.
Co-Authored-By: Claude Opus 4.6 <[email protected] >
Signed-off-by: Jaehyun Kim <[email protected] >
2026-02-23 23:05:29 +09:00
Jaehyun Kim and Claude Opus 4.6
7173c10cc1
test: strengthen assertions, add sorted SDC diff, and clean up tests
...
- Split oversized test files to stay under 5,000 lines per file:
TestSdc.cc → TestSdcClasses.cc, TestSdcStaInit.cc, TestSdcStaDesign.cc
TestSearchStaDesign.cc → TestSearchStaDesign.cc, TestSearchStaDesignB.cc
TestLibertyStaBasics.cc → TestLibertyStaBasics.cc, TestLibertyStaBasicsB.cc
TestNetwork.cc → TestNetwork.cc, TestNetworkB.cc
- Replace ~200+ (void) casts with proper EXPECT_* assertions across all
C++ test files (dcalc, liberty, network, sdc, search, power, spice, util)
- Remove ~55 SUCCEED() and EXPECT_TRUE(true) no-op assertions
- Fix 6 load-only Tcl tests by adding diff_files verification with
22 new .sdcok golden reference files
- Delete 7 orphan .ok files with no matching .tcl tests
- Add how_to_write_good_tests.md and TODO6.md documenting test quality rules
Co-Authored-By: Claude Opus 4.6 <[email protected] >
Signed-off-by: Jaehyun Kim <[email protected] >
2026-02-23 17:36:45 +09:00
Jaehyun Kim
a242c3f2f2
Refactor test suites and strengthen cpp test assertions
2026-02-23 14:13:29 +09:00