summaryrefslogtreecommitdiff
path: root/testsuite/gna/ticket30/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold2015-01-19 06:47:08 +0100
committerTristan Gingold2015-01-19 06:47:08 +0100
commit989d20ec727fff609283979244865d6058f427bc (patch)
tree5e4a8fac8799c4ee5f7a26dfd8afa852f06b2c4b /testsuite/gna/ticket30/testsuite.sh
parent2f28dbc09fd009e5003f59c9f3aa511a834f1518 (diff)
downloadghdl-989d20ec727fff609283979244865d6058f427bc.tar.gz
ghdl-989d20ec727fff609283979244865d6058f427bc.tar.bz2
ghdl-989d20ec727fff609283979244865d6058f427bc.zip
Add testcase for ticket30.
Diffstat (limited to 'testsuite/gna/ticket30/testsuite.sh')
-rwxr-xr-xtestsuite/gna/ticket30/testsuite.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/gna/ticket30/testsuite.sh b/testsuite/gna/ticket30/testsuite.sh
new file mode 100755
index 0000000..47e2076
--- /dev/null
+++ b/testsuite/gna/ticket30/testsuite.sh
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+$GHDL -i lib_numeric_tb.vhd
+$GHDL -m numeric_tb
+simulate numeric_tb --stop-time=10ns --wave=numeric_tb.ghw \
+ --sdf=typ==lib_numeric_tb.sdf
+
+clean
+rm numeric_tb.ghw
+
+echo "Test successful"