diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-11-01 05:13:29 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-11-01 05:13:29 +0100 |
commit | f64107122c06f913a7f44e01acb993c9f8cb6951 (patch) | |
tree | 1ca57d3f705ad0cd6ad79fdeba9e6565519876b2 | |
parent | 1fca61c14c6b0e48029529986e8511d163f582a8 (diff) | |
download | ghdl-f64107122c06f913a7f44e01acb993c9f8cb6951.tar.gz ghdl-f64107122c06f913a7f44e01acb993c9f8cb6951.tar.bz2 ghdl-f64107122c06f913a7f44e01acb993c9f8cb6951.zip |
issue #450: tentatively fix failure on windows.
-rwxr-xr-x | testsuite/gna/issue450/testsuite.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/gna/issue450/testsuite.sh b/testsuite/gna/issue450/testsuite.sh index 31ada14d0..c41e34502 100755 --- a/testsuite/gna/issue450/testsuite.sh +++ b/testsuite/gna/issue450/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 + $GHDL --vpi-compile -v gcc -c vpi2.c $GHDL --vpi-link -v gcc -o vpi2.vpi vpi2.o |