aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2350/testsuite.sh
diff options
context:
space:
mode:
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"