aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1420/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-08-04 18:46:57 +0200
committerTristan Gingold <tgingold@free.fr>2020-08-04 18:46:57 +0200
commitb623f87a6143ea71277969d79de7bd6a92443b93 (patch)
tree9973fcc44f4b98dafbaee706bfb254fce18cd19d /testsuite/gna/issue1420/testsuite.sh
parentc1f5f40de1a580ff708122b8f1a5e2f8d9e7cdc3 (diff)
downloadghdl-b623f87a6143ea71277969d79de7bd6a92443b93.tar.gz
ghdl-b623f87a6143ea71277969d79de7bd6a92443b93.tar.bz2
ghdl-b623f87a6143ea71277969d79de7bd6a92443b93.zip
testsuite/gna: add a test for #1420
Diffstat (limited to 'testsuite/gna/issue1420/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue1420/testsuite.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/issue1420/testsuite.sh b/testsuite/gna/issue1420/testsuite.sh
new file mode 100755
index 000000000..5cfa1ed62
--- /dev/null
+++ b/testsuite/gna/issue1420/testsuite.sh
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+GHDL_STD_FLAGS=--std=08
+
+analyze repro1.vhdl
+if ghdl_has_feature repro1 dump-rti; then
+ elab_simulate repro1 --dump-rti
+fi
+
+clean
+
+echo "Test successful"