summaryrefslogtreecommitdiff
path: root/testsuite/gna/issue2/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold2015-11-26 06:17:37 +0100
committerTristan Gingold2015-11-26 06:17:37 +0100
commit500cf333320abcbdebdd9d76279ede57ade9b43e (patch)
tree7e315b19d97b607717404bcceb931cc0483ff5e8 /testsuite/gna/issue2/testsuite.sh
parent9d78c1b67a3cb74b6301da04dac3e8490f5afcd1 (diff)
downloadghdl-500cf333320abcbdebdd9d76279ede57ade9b43e.tar.gz
ghdl-500cf333320abcbdebdd9d76279ede57ade9b43e.tar.bz2
ghdl-500cf333320abcbdebdd9d76279ede57ade9b43e.zip
Add testcase for issue2.
Diffstat (limited to 'testsuite/gna/issue2/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue2/testsuite.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/issue2/testsuite.sh b/testsuite/gna/issue2/testsuite.sh
new file mode 100755
index 0000000..cb673c6
--- /dev/null
+++ b/testsuite/gna/issue2/testsuite.sh
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+GHDL_STD_FLAGS=--std=08
+GHDL_FLAGS=--work=test
+
+analyze sortnet_OddEvenSort.vhdl
+analyze sortnet_OddEvenSort_tb.vhdl
+elab_simulate --syn-binding sortnet_OddEvenSort_tb
+
+clean test
+
+echo "Test successful"