Merge pull request #4204 from YosysHQ/micko/gen_test

do not override existing shell variable
This commit is contained in:
Jannis Harder 2024-02-16 14:28:56 +01:00 committed by GitHub
commit 811b7b54d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ generate_target() {
# $ generate_ys_test ys_file [yosys_args]
generate_ys_test() {
ys_file=$1
yosys_args=${2:-}
generate_target "$ys_file" "\"$YOSYS_BASEDIR/yosys\" -ql ${ys_file%.*}.log $yosys_args $ys_file"
yosys_args_=${2:-}
generate_target "$ys_file" "\"$YOSYS_BASEDIR/yosys\" -ql ${ys_file%.*}.log $yosys_args_ $ys_file"
}
# $ generate_bash_test bash_file