diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-04-24 06:10:46 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-04-24 06:10:46 +0200 |
commit | 8836b83f3878d93d19aa716ac65e30a591178c27 (patch) | |
tree | 99783e30b2a5c98d33e6a40000501fec3a44d054 /testsuite/gna/issue450 | |
parent | 4198d9f7a3b56129f862a219ad9becaa2c684486 (diff) | |
download | ghdl-8836b83f3878d93d19aa716ac65e30a591178c27.tar.gz ghdl-8836b83f3878d93d19aa716ac65e30a591178c27.tar.bz2 ghdl-8836b83f3878d93d19aa716ac65e30a591178c27.zip |
testsuite: add add_vpi_path utility.
Diffstat (limited to 'testsuite/gna/issue450')
-rwxr-xr-x | testsuite/gna/issue450/testsuite.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/testsuite/gna/issue450/testsuite.sh b/testsuite/gna/issue450/testsuite.sh index 8850c41d7..5110fb676 100755 --- a/testsuite/gna/issue450/testsuite.sh +++ b/testsuite/gna/issue450/testsuite.sh @@ -6,11 +6,7 @@ analyze disptree.vhdl elab disptree if ghdl_has_feature disptree vpi; then - if [ "$OS" = "Windows_NT" ]; then - vpi_lib=`$GHDL --vpi-library-dir | sed -e 's!\\\\!/!g' -e 's!^C:!/C!g'` - echo vpi_lib: $vpi_lib - PATH="$PATH:$vpi_lib" - fi + add_vpi_path $GHDL --vpi-compile -v gcc -c vpi2.c $GHDL --vpi-link -v gcc -o vpi2.vpi vpi2.o |