diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-12-20 21:08:55 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-12-20 21:08:55 +0100 |
commit | 84490e821deee16fe8155df2b9328c23d953c4fb (patch) | |
tree | fd5375aecd92a64c156191fc3293a414184af06e /testsuite/gna/issue98 | |
parent | c3ed5c426b8be1144574b9e33135450cf6ceab1a (diff) | |
download | ghdl-84490e821deee16fe8155df2b9328c23d953c4fb.tar.gz ghdl-84490e821deee16fe8155df2b9328c23d953c4fb.tar.bz2 ghdl-84490e821deee16fe8155df2b9328c23d953c4fb.zip |
testsuite/gna: adjust for windows.
Diffstat (limited to 'testsuite/gna/issue98')
-rwxr-xr-x | testsuite/gna/issue98/testsuite.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/gna/issue98/testsuite.sh b/testsuite/gna/issue98/testsuite.sh index 23746d630..f30613c5f 100755 --- a/testsuite/gna/issue98/testsuite.sh +++ b/testsuite/gna/issue98/testsuite.sh @@ -2,6 +2,12 @@ . ../../testenv.sh +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 + analyze test_load.vhdl $GHDL --vpi-compile -v gcc -c vpi1.c $GHDL --vpi-link -v gcc -o vpi1.vpi vpi1.o |