From fd1fe13cca5f699cc9f182bf069bfc9f8e3afa21 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 3 Dec 2015 05:10:42 +0100 Subject: Add issue tests from github in the testsuite. --- testsuite/gna/testsuite.sh | 3 ++- testsuite/gna/ticket30/testsuite.sh | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'testsuite') diff --git a/testsuite/gna/testsuite.sh b/testsuite/gna/testsuite.sh index 75f3c3a..3e486f9 100755 --- a/testsuite/gna/testsuite.sh +++ b/testsuite/gna/testsuite.sh @@ -9,10 +9,11 @@ # srXXX is for support reported on https://gna.org/support/?group=ghdl # debXX is for bugs report on http://bugs.debian.org/ # ticketXX is from https://sourceforge.net/p/ghdl-updates/tickets/ +# issueXXX is from https://github.com/tgingold/ghdl/issues set -e -dirs="bug* sr* deb* ticket*" +dirs="bug* sr* deb* ticket* issue*" failures="" full=n 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 \ -- cgit