From: Clifford Wolf Date: Sat, 6 Sep 2014 10:10:57 +0000 (+0200) Subject: Fixed autotest for non-basename arguments X-Git-Tag: yosys-0.4~160 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76f8128123a546c06dcb4624e8c8ed4255a030c5;p=yosys.git Fixed autotest for non-basename arguments --- diff --git a/tests/tools/autotest.sh b/tests/tools/autotest.sh index 5003280ef..102c021e0 100755 --- a/tests/tools/autotest.sh +++ b/tests/tools/autotest.sh @@ -105,6 +105,9 @@ do body() { cd ${bn}.out + fn=$(basename $fn) + bn=$(basename $bn) + cp ../$fn $fn if [ ! -f ../${bn}_tb.v ]; then "$toolsdir"/../../yosys -b "test_autotb $autotb_opts" -o ${bn}_tb.v $fn