aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorumarcor <unai.martinezcorral@ehu.eus>2021-01-05 17:08:54 +0100
committertgingold <tgingold@users.noreply.github.com>2021-01-05 21:02:21 +0100
commitb4a301a37fc2b4f5515a7aa611c858ba6cba837f (patch)
tree6c9bb78d196e0a496b7610de678759a4ff0bfcd0 /testsuite
parent0747980c3e8bf101abee2aad730f03da1411d318 (diff)
downloadghdl-b4a301a37fc2b4f5515a7aa611c858ba6cba837f.tar.gz
ghdl-b4a301a37fc2b4f5515a7aa611c858ba6cba837f.tar.bz2
ghdl-b4a301a37fc2b4f5515a7aa611c858ba6cba837f.zip
cli: add 'version ref' and 'version hash'
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/testsuite.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/testsuite/testsuite.sh b/testsuite/testsuite.sh
index f62d9e577..651c82012 100755
--- a/testsuite/testsuite.sh
+++ b/testsuite/testsuite.sh
@@ -252,15 +252,17 @@ do_test() {
esac
}
-for t in $tests; do do_test $t; done
-
-printf "${ANSI_GREEN}[GHDL - test] SUCCESSFUL${ANSI_NOCOLOR}\n"
-touch test_ok
-
gstart "GHDL is: $GHDL"
$GHDL version
+echo "REF: `$GHDL version ref`"
+echo "HASH: `$GHDL version hash`"
gend
gstart "GHDL help"
$GHDL help
gend
+
+for t in $tests; do do_test $t; done
+
+printf "${ANSI_GREEN}[GHDL - test] SUCCESSFUL${ANSI_NOCOLOR}\n"
+touch test_ok