aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-12-18 07:35:32 +0100
committerTristan Gingold <tgingold@free.fr>2018-12-18 07:36:25 +0100
commit8363e766cb049c652fd9b4563cb237b2abe9f364 (patch)
tree962098acfe561875c78f92d2a2b11a3baf1df964 /testsuite/testsuite.sh
parent07275e80da12539628be7683a5ac1fb00cd750ae (diff)
downloadghdl-8363e766cb049c652fd9b4563cb237b2abe9f364.tar.gz
ghdl-8363e766cb049c652fd9b4563cb237b2abe9f364.tar.bz2
ghdl-8363e766cb049c652fd9b4563cb237b2abe9f364.zip
Run sanity checks.
Diffstat (limited to 'testsuite/testsuite.sh')
-rwxr-xr-xtestsuite/testsuite.sh16
1 files changed, 13 insertions, 3 deletions
diff --git a/testsuite/testsuite.sh b/testsuite/testsuite.sh
index 0720a629b..dd3f9e003 100755
--- a/testsuite/testsuite.sh
+++ b/testsuite/testsuite.sh
@@ -14,27 +14,37 @@ for opt; do
esac
done
-if [ x$tests = x ]; then tests="gna vests"; fi
+if [ x$tests = x ]; then tests="sanity gna vests"; fi
# The GNA testsuite: regression testsuite using reports/issues from gna.org
-do_gna() {
+do_gna()
+{
cd gna
./testsuite.sh
cd ..
}
# The VESTS testsuite: compliance testsuite, from: https://github.com/nickg/vests.git 388250486a
-do_vests() {
+do_vests()
+{
cd vests
./testsuite.sh
cd ..
}
+do_sanity()
+{
+ cd sanity
+ ./testsuite.sh
+ cd ..
+}
+
# Run a testsuite
do_test() {
case $1 in
gna) do_gna;;
vests) do_vests;;
+ sanity) do_sanity;;
*)
echo "$0: test name '$1' is unknown"
exit 1;;