aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2337/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2023-02-01 21:10:52 +0100
committerTristan Gingold <tgingold@free.fr>2023-02-02 07:38:14 +0100
commit476405344556e854c03c33dc4698b5a78b006b47 (patch)
treebdf65ced3fcc51a4557e06b2d640163506204777 /testsuite/gna/issue2337/testsuite.sh
parentb2cab4a6f6457f5c2662c0219753b96cae6c0237 (diff)
downloadghdl-476405344556e854c03c33dc4698b5a78b006b47.tar.gz
ghdl-476405344556e854c03c33dc4698b5a78b006b47.tar.bz2
ghdl-476405344556e854c03c33dc4698b5a78b006b47.zip
testsuite/gna: add a test for #2337
Diffstat (limited to 'testsuite/gna/issue2337/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue2337/testsuite.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/issue2337/testsuite.sh b/testsuite/gna/issue2337/testsuite.sh
new file mode 100755
index 000000000..a625378ce
--- /dev/null
+++ b/testsuite/gna/issue2337/testsuite.sh
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+export GHDL_STD_FLAGS=--std=08
+analyze repro_tb.vhdl
+elab_simulate repro_tb
+
+analyze repro2_tb.vhdl
+elab_simulate repro2_tb
+
+clean
+
+echo "Test successful"