mirror of https://github.com/KLayout/klayout.git
Fixed issue #1485 (Incorrectly set output cell name if using DRC::cell)
This commit is contained in:
parent
2558bdec39
commit
75e3c3131f
|
|
@ -1595,7 +1595,7 @@ module DRC
|
|||
if ! @def_output
|
||||
if @def_layout
|
||||
# establish a new default output from the default layout on this occasion
|
||||
@def_output = LayoutOutputChannel::new(self, @def_layout, cellname.to_s, nil)
|
||||
@def_output = LayoutOutputChannel::new(self, @def_layout, @def_layout.cell(cellname.to_s), nil)
|
||||
end
|
||||
else
|
||||
@def_output.cellname = cellname.to_s
|
||||
|
|
|
|||
|
|
@ -1547,6 +1547,16 @@ TEST(60d_issue1216)
|
|||
run_test (_this, "60", true);
|
||||
}
|
||||
|
||||
TEST(61_issue1485)
|
||||
{
|
||||
run_test (_this, "61", false);
|
||||
}
|
||||
|
||||
TEST(61d_issue1485)
|
||||
{
|
||||
run_test (_this, "61", true);
|
||||
}
|
||||
|
||||
TEST(70_props)
|
||||
{
|
||||
run_test (_this, "70", false);
|
||||
|
|
|
|||
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
# Moved implementation
|
||||
|
||||
source($drc_test_source)
|
||||
target($drc_test_target)
|
||||
|
||||
if $drc_test_deep
|
||||
deep
|
||||
end
|
||||
|
||||
input(1, 0).output(1, 0)
|
||||
input(2, 0).output(2, 0)
|
||||
|
||||
cell("TOP")
|
||||
|
||||
l1 = input(1, 0)
|
||||
l2 = input(2, 0)
|
||||
|
||||
l1.output(10, 0)
|
||||
l2.output(11, 0)
|
||||
l1.sized(100.nm).output(20, 0)
|
||||
(l2 - l1).output(21, 0)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue