From 8836b83f3878d93d19aa716ac65e30a591178c27 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 24 Apr 2020 06:10:46 +0200 Subject: testsuite: add add_vpi_path utility. --- testsuite/gna/issue1256/testsuite.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'testsuite/gna/issue1256') diff --git a/testsuite/gna/issue1256/testsuite.sh b/testsuite/gna/issue1256/testsuite.sh index 1bb44dcf1..33226a0ef 100755 --- a/testsuite/gna/issue1256/testsuite.sh +++ b/testsuite/gna/issue1256/testsuite.sh @@ -6,12 +6,7 @@ analyze enum_test.vhdl elab enum_test if ghdl_has_feature enum_test 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 -- cgit v1.2.3