aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1226/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue1226/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue1226/testsuite.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/testsuite/gna/issue1226/testsuite.sh b/testsuite/gna/issue1226/testsuite.sh
index 056c85789..210e01058 100755
--- a/testsuite/gna/issue1226/testsuite.sh
+++ b/testsuite/gna/issue1226/testsuite.sh
@@ -6,12 +6,7 @@ analyze adder.vhdl
elab adder
if ghdl_has_feature adder vpi; then
- if [ "$OS" = "Windows_NT" ]; then
- # Need to put the directory containing libghdlvpi.dll in the path.
- 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 vpi_plugin.c
$GHDL --vpi-link -v gcc -o vpi_plugin.vpi vpi_plugin.o