Skip to content

Commit fdc375d

Browse files
committed
mock-array: path group test fix
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent f8c4926 commit fdc375d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/orfs/mock-array/path_groups.tcl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ if { [llength [find_timing_paths -from $from -to $to]] == 0 } {
1010
exit 1
1111
}
1212
puts "Checking if we can create a group_path from $from to $to"
13-
group_path -name test_group -from $from -to $to
13+
14+
# There is no guarantee that the first node in the
15+
# tcl path structure is an exception start point, so use -through
16+
# to ensure we capture a valid path for our testing purposes.
17+
group_path -name test_group -through $from -to $to
1418
if { [llength [find_timing_paths -path_group test_group]] == 0 } {
1519
puts "Error: find_timing_paths -path_group test_group failed"
1620
exit 1

0 commit comments

Comments
 (0)