Fixed autotest for non-basename arguments

This commit is contained in:
Clifford Wolf 2014-09-06 12:10:57 +02:00
parent 34af6a1303
commit 76f8128123
1 changed files with 3 additions and 0 deletions

View File

@ -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