3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-05 22:14:08 +00:00

Check output of fifo.sby

False positive exit 0 if fifo.sby was giving returncode=2.
This commit is contained in:
KrystalDelusion 2022-08-02 10:28:06 +12:00
parent 93d8ef9663
commit a76286ed34

View file

@ -1,8 +1,13 @@
#!/bin/bash
python3 $SBY_MAIN -f fifo.sby && python3 $SBY_MAIN -f fifo.sby nofullskip
python3 $SBY_MAIN -f fifo.sby
if [[ $? -ne 2 ]] ; then
echo "Unexpected result"
if [[ $? -ne 0 ]] ; then
exit 1
fi
python3 $SBY_MAIN -f fifo.sby nofullskip
if [[ $? -ne 2 ]] ; then
exit 1
fi