From 8346c7123271b373218911593033c23db00151cf Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 16 Apr 2020 21:45:00 +0200 Subject: testsuite/gna: rename file for windows. For #1229 'aux' is a reserved filename on Windows... --- testsuite/gna/issue1229/aux.c | 1 - testsuite/gna/issue1229/caux.c | 1 + testsuite/gna/issue1229/pkg.vhdl | 2 +- testsuite/gna/issue1229/testsuite.sh | 6 +++--- 4 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 testsuite/gna/issue1229/aux.c create mode 100644 testsuite/gna/issue1229/caux.c (limited to 'testsuite/gna') diff --git a/testsuite/gna/issue1229/aux.c b/testsuite/gna/issue1229/aux.c deleted file mode 100644 index f355dea13..000000000 --- a/testsuite/gna/issue1229/aux.c +++ /dev/null @@ -1 +0,0 @@ -int getInt(){return 141;} diff --git a/testsuite/gna/issue1229/caux.c b/testsuite/gna/issue1229/caux.c new file mode 100644 index 000000000..f355dea13 --- /dev/null +++ b/testsuite/gna/issue1229/caux.c @@ -0,0 +1 @@ +int getInt(){return 141;} 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" -- cgit v1.2.3