Skip to content

Commit 32b0d53

Browse files
committed
mock-array: fix gaffes in new tests
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 60b8f13 commit 32b0d53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/orfs/mock-array/mock-array.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,13 +467,14 @@ def mock_array(name, config):
467467
"POWER_STAGE_STEM": POWER_STAGE_STEM[stage],
468468
"VCD_STIMULI": "$(location :vcd_{variant}_{stage})".format(variant = variant, stage = stage),
469469
} | ({"openroad": {}}.get(
470-
"openroad",
470+
power_test,
471471
{
472472
"OPENROAD_EXE": "$(location //src/sta:opensta)",
473473
},
474474
)),
475475
data = [
476476
# FIXME this is a workaround to ensure that the OpenSTA runfiles are available
477+
":opensta_runfiles",
477478
":vcd_{variant}_{stage}".format(variant = variant, stage = stage),
478479
":load_power.tcl",
479480
] + ["{macro}_{variant}_{stage}".format(
@@ -484,8 +485,7 @@ def mock_array(name, config):
484485
(["{variant}_{macro}_parasitics".format(
485486
variant = (name + "_base") if macro == "Element" else variant,
486487
macro = macro,
487-
) for macro in MACROS] if stage != "final" else []) +
488-
(["//src/sta:opensta"] if power_test != "openroad" else []),
488+
) for macro in MACROS] if stage != "final" else []),
489489
script = ":{power_test}.tcl".format(power_test = power_test if power_test != "openroad" else "power"),
490490
tags = ["manual"],
491491
tools = ["//src/sta:opensta"],

0 commit comments

Comments
 (0)