3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-01 07:40:42 +00:00

Merge pull request #1146 from gsomlo/gls-test-abc-ext

tests: use optional ABCEXTERNAL when specified
This commit is contained in:
Clifford Wolf 2019-06-28 10:30:31 +02:00 committed by David Shah
parent 43069e9eb9
commit ef0823690c
4 changed files with 29 additions and 8 deletions

View file

@ -4,15 +4,17 @@ set -e
OPTIND=1
seed="" # default to no seed specified
while getopts "S:" opt
abcopt=""
while getopts "A:S:" opt
do
case "$opt" in
A) abcopt="-A $OPTARG" ;;
S) seed="-S $OPTARG" ;;
esac
done
shift "$((OPTIND-1))"
bash ../tools/autotest.sh $seed -G *.v
bash ../tools/autotest.sh $abcopt $seed -G *.v
for f in `egrep -l 'expect-(wr-ports|rd-ports|rd-clk)' *.v`; do
echo -n "Testing expectations for $f .."