summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/tools/autotest.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tools/autotest.sh b/tests/tools/autotest.sh
index 5003280e..102c021e 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