Commit af53f90
committed
tests(yosys): use target-aware, configurable synthesis timeouts
Replace the fixed 300s Yosys timeout with target-aware defaults to avoid
false failures on slower synthesis paths.
- add _get_timeout_seconds(synth_command)
- default non-Xilinx timeout to 600s
- default synth_xilinx* timeout to 900s
- support env overrides:
- FROST_YOSYS_TIMEOUT_SEC
- FROST_YOSYS_XILINX_TIMEOUT_SEC
- print effective timeout in run logs for visibility
- use computed timeout for both captured and streamed subprocess runs
This keeps faster targets unchanged in behavior while allowing longer-running
Xilinx and large generic runs to complete instead of timing out.1 parent b641d24 commit af53f90
1 file changed
+44
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
51 | 91 | | |
52 | 92 | | |
53 | 93 | | |
| |||
174 | 214 | | |
175 | 215 | | |
176 | 216 | | |
| 217 | + | |
| 218 | + | |
177 | 219 | | |
178 | 220 | | |
179 | 221 | | |
| |||
183 | 225 | | |
184 | 226 | | |
185 | 227 | | |
186 | | - | |
| 228 | + | |
187 | 229 | | |
188 | 230 | | |
189 | 231 | | |
190 | 232 | | |
191 | 233 | | |
192 | 234 | | |
193 | | - | |
| 235 | + | |
194 | 236 | | |
195 | 237 | | |
196 | 238 | | |
| |||
0 commit comments