Commit 369c98b
committed
test(generate_klayout_tech): expect abspath, not relpath
Earlier commit a1552a8 switched generate_klayout_tech.py to write
absolute LEF paths into the LYT (bypasses klayout's relative-resolution
escape to the bare-execroot under a Bazel sandbox). The unit test
test_basic_generation still asserted the old relpath form and failed
in CI:
AssertionError: '../tech.lef' not found in
'...<lef-files>/tmp/tmpwlgkq96a/tech.lef</lef-files>...'
Update the assertion to expect os.path.abspath(lef_path).
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent f183165 commit 369c98b
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
0 commit comments