mirror of https://github.com/YosysHQ/yosys.git
Replace GNU specific invocation of basename(1) with the equivalent
POSIX one. The tests now complete on BSD as well as GNU/Linux.
This commit is contained in:
parent
32808b26c6
commit
49945ab1c2
|
@ -3,7 +3,7 @@ set -eu
|
|||
source ../gen-tests-makefile.sh
|
||||
echo "Generate FST for sim models"
|
||||
find tb/* -name tb*.v | while read name; do
|
||||
test_name=$(basename -s .v $name)
|
||||
test_name=$(basename $name .v)
|
||||
echo "Test $test_name"
|
||||
verilog_name=${test_name:3}.v
|
||||
iverilog -o tb/$test_name.out $name $verilog_name
|
||||
|
|
Loading…
Reference in New Issue