summaryrefslogtreecommitdiff
path: root/testsuite/gna/ticket30
diff options
context:
space:
mode:
authorTristan Gingold2015-12-03 05:10:42 +0100
committerTristan Gingold2015-12-03 05:10:42 +0100
commitfd1fe13cca5f699cc9f182bf069bfc9f8e3afa21 (patch)
treeb97f572b36b0172939c0c9ed4e2ebf7323f12e6f /testsuite/gna/ticket30
parentb8a70f67eb79f09880ac9be1e96b7856b1144246 (diff)
downloadghdl-fd1fe13cca5f699cc9f182bf069bfc9f8e3afa21.tar.gz
ghdl-fd1fe13cca5f699cc9f182bf069bfc9f8e3afa21.tar.bz2
ghdl-fd1fe13cca5f699cc9f182bf069bfc9f8e3afa21.zip
Add issue tests from github in the testsuite.
Diffstat (limited to 'testsuite/gna/ticket30')
-rwxr-xr-xtestsuite/gna/ticket30/testsuite.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/gna/ticket30/testsuite.sh b/testsuite/gna/ticket30/testsuite.sh
index 78d21cc..a8c8944 100755
--- a/testsuite/gna/ticket30/testsuite.sh
+++ b/testsuite/gna/ticket30/testsuite.sh
@@ -2,6 +2,11 @@
. ../../testenv.sh
+if ! "$GHDL" --dir ieee | grep -q vital; then
+ echo "No vital libraries, skipping"
+ exit 0
+fi
+
"$GHDL" -i lib_numeric_tb.vhd
"$GHDL" -m numeric_tb
simulate numeric_tb --stop-time=10ns --wave=numeric_tb.ghw \