summaryrefslogtreecommitdiff
path: root/tests/hana/run-test.sh
blob: 878c80b3f06b477a1872521f81f68ca239f70f4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

OPTIND=1
seed=""    # default to no seed specified
while getopts "S:" opt
do
    case "$opt" in
	S) arg="${OPTARG#"${OPTARG%%[![:space:]]*}"}" # remove leading space
	   seed="SEED=$arg" ;;
    esac
done
shift "$((OPTIND-1))"

exec ${MAKE:-make} -f ../tools/autotest.mk $seed EXTRA_FLAGS="-l hana_vlib.v -n 300 -e" test_*.v