mirror of https://github.com/YosysHQ/yosys.git
Fixed autotest for non-basename arguments
This commit is contained in:
parent
34af6a1303
commit
76f8128123
|
@ -105,6 +105,9 @@ do
|
||||||
|
|
||||||
body() {
|
body() {
|
||||||
cd ${bn}.out
|
cd ${bn}.out
|
||||||
|
fn=$(basename $fn)
|
||||||
|
bn=$(basename $bn)
|
||||||
|
|
||||||
cp ../$fn $fn
|
cp ../$fn $fn
|
||||||
if [ ! -f ../${bn}_tb.v ]; then
|
if [ ! -f ../${bn}_tb.v ]; then
|
||||||
"$toolsdir"/../../yosys -b "test_autotb $autotb_opts" -o ${bn}_tb.v $fn
|
"$toolsdir"/../../yosys -b "test_autotb $autotb_opts" -o ${bn}_tb.v $fn
|
||||||
|
|
Loading…
Reference in New Issue