aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-04-16 21:45:00 +0200
committerTristan Gingold <tgingold@free.fr>2020-04-16 21:45:26 +0200
commit8346c7123271b373218911593033c23db00151cf (patch)
treec6cea752080b2f535688fb9000855d6b5ec81431
parent3bff44b2a3bd094ef6b0f69f4548a32250d80d22 (diff)
downloadghdl-8346c7123271b373218911593033c23db00151cf.tar.gz
ghdl-8346c7123271b373218911593033c23db00151cf.tar.bz2
ghdl-8346c7123271b373218911593033c23db00151cf.zip
testsuite/gna: rename file for windows. For #1229
'aux' is a reserved filename on Windows...
-rw-r--r--testsuite/gna/issue1229/caux.c (renamed from testsuite/gna/issue1229/aux.c)0
-rw-r--r--testsuite/gna/issue1229/pkg.vhdl2
-rwxr-xr-xtestsuite/gna/issue1229/testsuite.sh6
3 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/gna/issue1229/aux.c b/testsuite/gna/issue1229/caux.c
index f355dea13..f355dea13 100644
--- a/testsuite/gna/issue1229/aux.c
+++ b/testsuite/gna/issue1229/caux.c
diff --git a/testsuite/gna/issue1229/pkg.vhdl b/testsuite/gna/issue1229/pkg.vhdl
index 660b00a58..95dd53e68 100644
--- a/testsuite/gna/issue1229/pkg.vhdl
+++ b/testsuite/gna/issue1229/pkg.vhdl
@@ -4,7 +4,7 @@ package pkg is
procedure showPackageN;
impure function c_int return integer;
- attribute foreign of c_int : function is "VHPIDIRECT aux.so getInt";
+ attribute foreign of c_int : function is "VHPIDIRECT caux.so getInt";
end package pkg;
package body pkg is
diff --git a/testsuite/gna/issue1229/testsuite.sh b/testsuite/gna/issue1229/testsuite.sh
index 067468bed..e241853f3 100755
--- a/testsuite/gna/issue1229/testsuite.sh
+++ b/testsuite/gna/issue1229/testsuite.sh
@@ -2,14 +2,14 @@
. ../../testenv.sh
-# gcc -c -fPIC aux.c
-# gcc -shared -o aux.so aux.o
+# gcc -c -fPIC caux.c
+# gcc -shared -o caux.so caux.o
export GHDL_STD_FLAGS=--std=08
analyze pkg.vhdl tb.vhdl
# elab_simulate tb
clean
-# rm -f aux.o aux.so
+# rm -f caux.o caux.so
echo "Test successful"