mirror of
https://github.com/YosysHQ/yosys
synced 2026-01-05 18:42:46 +00:00
On my machine, this test regularly times out when doing "make -j" (which defaults to 128). The high degree of parallelism seems to slow down the spwaning of ABC processes.
12 lines
246 B
Bash
Executable file
12 lines
246 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if ! which timeout ; then
|
|
echo "No 'timeout', skipping test"
|
|
exit 0
|
|
fi
|
|
|
|
if ! timeout 10 ../../yosys bug5495.v -p 'hierarchy; techmap; abc -script bug5495.abc' ; then
|
|
echo "Yosys failed to complete"
|
|
exit 1
|
|
fi
|
|
|