aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2350/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2023-02-12 18:36:45 +0100
committerTristan Gingold <tgingold@free.fr>2023-02-13 07:58:50 +0100
commitf041824100c87e65ae8aaa92dff01988b6fbc94f (patch)
treed6f9e0d69f0bc37daca1409eb0cf53979c5e01e6 /testsuite/gna/issue2350/testsuite.sh
parent20e5bd83379ab7a20002dc200f62da64dcd56df9 (diff)
downloadghdl-f041824100c87e65ae8aaa92dff01988b6fbc94f.tar.gz
ghdl-f041824100c87e65ae8aaa92dff01988b6fbc94f.tar.bz2
ghdl-f041824100c87e65ae8aaa92dff01988b6fbc94f.zip
testsuite/gna: add tests for #2350
Diffstat (limited to 'testsuite/gna/issue2350/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue2350/testsuite.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/testsuite/gna/issue2350/testsuite.sh b/testsuite/gna/issue2350/testsuite.sh
new file mode 100755
index 000000000..9ced4d5ef
--- /dev/null
+++ b/testsuite/gna/issue2350/testsuite.sh
@@ -0,0 +1,26 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+export GHDL_STD_FLAGS=--std=08
+analyze test.vhdl
+elab_simulate_failure test
+
+analyze_failure -Werror=runtime-error test.vhdl
+analyze_failure -Werror=runtime-error test2.vhdl
+
+# Humm duplicate error
+analyze_failure -Werror=runtime-error test3.vhdl
+#analyze test3.vhdl
+
+analyze_failure -Werror=runtime-error test4.vhdl
+
+analyze_failure -Werror=runtime-error test5.vhdl
+
+analyze_failure -Werror=runtime-error test6.vhdl
+
+analyze_failure -Werror=runtime-error test7.vhdl
+
+clean
+
+echo "Test successful"