3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 09:55:20 +00:00
yosys/tests/memlib/run-test.sh
Marcelina Kościelnicka 982a11c709 Add memory_libmap tests.
2022-05-18 17:32:56 +02:00

16 lines
243 B
Bash
Executable file

#!/bin/bash
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"