File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4407,7 +4407,7 @@ TEST_F(SdcInitTest, SdcSwapDeratingFactors) {
44074407// Sdc: deleteDeratingFactors
44084408// Sdc: allInputs/allOutputs
44094409// Sdc: findClocksMatching
4410- // Sdc: isGroupPathName
4410+ // Sdc: isGroupPathName (deprecated) and isPathGroupName
44114411TEST_F (SdcInitTest, SdcIsGroupPathNameEmpty) {
44124412 Sdc *sdc = sta_->cmdSdc ();
44134413 // Suppress deprecation warning -- we intentionally test deprecated API
@@ -4418,6 +4418,10 @@ TEST_F(SdcInitTest, SdcIsGroupPathNameEmpty) {
44184418 EXPECT_FALSE (is_group);
44194419}
44204420
4421+ TEST_F (SdcInitTest, SdcIsPathGroupNameEmpty) {
4422+ EXPECT_FALSE (sta_->isPathGroupName (" nonexistent" , sta_->cmdSdc ()));
4423+ }
4424+
44214425// Sdc: setVoltage
44224426TEST_F (SdcInitTest, SdcSetVoltageGlobal) {
44234427 ASSERT_NO_THROW (( [&](){
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ endpoint_slack(const Pin *pin,
238238 Sta *sta = Sta::sta ();
239239 sta->ensureLibLinked ();
240240 if (!path_group_name.empty ()
241- && !sta->isGroupPathName (path_group_name, sta->cmdSdc ())) {
241+ && !sta->isPathGroupName (path_group_name, sta->cmdSdc ())) {
242242 sta->report ()->error (1577 , " {} is not a known path group name." ,
243243 path_group_name);
244244 return INF;
You can’t perform that action at this time.
0 commit comments