yosys/tests/memlib/run-test.sh

16 lines
251 B
Bash
Raw Permalink Normal View History

2023-08-11 20:59:39 -05:00
#!/usr/bin/env bash
2022-05-06 09:30:56 -05:00
set -eu
OPTIND=1
seed="" # default to no seed specified
while getopts "S:" opt
do
case "$opt" in
S) seed="$OPTARG" ;;
esac
done
shift "$((OPTIND-1))"
python3 generate.py
exec ${MAKE:-make} -f run-test.mk SEED="$seed"