Unverified Commit 133911ba by Miodrag Milanović Committed by GitHub

Merge pull request #57 from YosysHQ/q3k/timeout-01118

regression/run: timeout on issue_01118
parents 28384684 3634ccc6
...@@ -248,7 +248,13 @@ elif [ "$1" = "issue_00502" ] ||\ ...@@ -248,7 +248,13 @@ elif [ "$1" = "issue_00502" ] ||\
expected_string="\$pmux 1" expected_string="\$pmux 1"
fi fi
yosys -ql yosys.log ../../scripts/$2.ys; if [ "$1" = "issue_01118" ]; then
# This issue manifests as an infinite loop.
timeout 5s yosys -ql yosys.log ../../scripts/$2.ys;
else
yosys -ql yosys.log ../../scripts/$2.ys;
fi
if [ $? != 0 ] ; then if [ $? != 0 ] ; then
echo FAIL > ${1}_${2}.status echo FAIL > ${1}_${2}.status
touch .stamp touch .stamp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment