aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1736/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue1736/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue1736/testsuite.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/issue1736/testsuite.sh b/testsuite/gna/issue1736/testsuite.sh
new file mode 100755
index 000000000..391dab0ff
--- /dev/null
+++ b/testsuite/gna/issue1736/testsuite.sh
@@ -0,0 +1,17 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+export GHDL_STD_FLAGS=--std=08
+analyze --work=mylib fifo.vhdl
+analyze ent.vhdl
+cmd="$GHDL elab-order --libraries $GHDL_STD_FLAGS ent"
+echo "run $cmd"
+eval "$cmd" > ent.out
+diff_nocr ent.ref ent.out
+
+clean
+clean mylib
+rm -f ent.out
+
+echo "Test successful"