3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-27 23:45:50 +00:00
sby/docs/examples/fifo/fifo.sh
KrystalDelusion b2d0368e26 Testing fifo things in CI
Turns out the bigtest golden ref is failing a_count_diff, need to fix that before removing the default statement.

Base example code is fine.  New shell script to run default case and then nofullskip.
Expects returncode=2 after running nofullskip.
2022-08-01 22:06:03 +12:00

8 lines
156 B
Bash

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