diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-09-23 13:42:08 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-09-23 13:42:08 +0200 |
commit | 6300c0b3c294110456b0644e05d5add85d444cc0 (patch) | |
tree | 76696c4da0c979b23c8951daed8162ffcdb8edc9 /tests/fsm/run-test.sh | |
parent | 0c697b9eacacfebd69c9603c2cb79ec70311197d (diff) | |
parent | f4240cc8a4545e4d2e2f926a72aa911d5373ab95 (diff) | |
download | yosys-6300c0b3c294110456b0644e05d5add85d444cc0.tar.gz yosys-6300c0b3c294110456b0644e05d5add85d444cc0.tar.bz2 yosys-6300c0b3c294110456b0644e05d5add85d444cc0.zip |
Merge branch 'master' of https://github.com/brouhaha/yosys
Diffstat (limited to 'tests/fsm/run-test.sh')
-rwxr-xr-x | tests/fsm/run-test.sh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/fsm/run-test.sh b/tests/fsm/run-test.sh index 423892334..cf506470d 100755 --- a/tests/fsm/run-test.sh +++ b/tests/fsm/run-test.sh @@ -5,10 +5,22 @@ set -e +OPTIND=1 +count=100 +seed="" # default to no seed specified +while getopts "c:S:" opt +do + case "$opt" in + c) count="$OPTARG" ;; + S) seed="-S $OPTARG" ;; + esac +done +shift "$((OPTIND-1))" + rm -rf temp mkdir -p temp echo "generating tests.." -python3 generate.py +python3 generate.py -c $count $seed { all_targets="all_targets:" |