aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-09 05:35:27 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-09 05:35:27 +0200
commitc44dba738b77ca39904839e15eee625ba8a33eeb (patch)
tree740db341cd054bab4e36567c7142fbe7ea21b644 /testsuite
parent757a76ead4a2cde8519a12ad10bfe19bd5984d18 (diff)
downloadghdl-c44dba738b77ca39904839e15eee625ba8a33eeb.tar.gz
ghdl-c44dba738b77ca39904839e15eee625ba8a33eeb.tar.bz2
ghdl-c44dba738b77ca39904839e15eee625ba8a33eeb.zip
Add a test for ghdl/ghdl-language-server#7
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/gna/gls7/testsuite.sh8
-rwxr-xr-xtestsuite/gna/testsuite.py2
-rwxr-xr-xtestsuite/gna/testsuite.sh2
3 files changed, 10 insertions, 2 deletions
diff --git a/testsuite/gna/gls7/testsuite.sh b/testsuite/gna/gls7/testsuite.sh
new file mode 100755
index 000000000..04782e61e
--- /dev/null
+++ b/testsuite/gna/gls7/testsuite.sh
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+$GHDL --disp-config --PREFIX=myprefix | grep "command line" | grep myprefix
+GHDL_PREFIX=myenvprefix $GHDL --disp-config | grep GHDL_PREFIX | grep envprefix
+
+echo "Test successful"
diff --git a/testsuite/gna/testsuite.py b/testsuite/gna/testsuite.py
index 40d8d72b2..a405919ec 100755
--- a/testsuite/gna/testsuite.py
+++ b/testsuite/gna/testsuite.py
@@ -8,7 +8,7 @@ import os
import os.path
import time
-DIRS=['bug*', 'sr*', 'deb*', 'ticket*', 'issue*']
+DIRS=['bug*', 'sr*', 'deb*', 'ticket*', 'issue*', 'gls*']
NUMJOBS=4
class Job(object):
diff --git a/testsuite/gna/testsuite.sh b/testsuite/gna/testsuite.sh
index 1e4fe7c05..8770ca09f 100755
--- a/testsuite/gna/testsuite.sh
+++ b/testsuite/gna/testsuite.sh
@@ -15,7 +15,7 @@ set -e
# This is the only place where test dirs are specified. Do not duplicate this
# line
-dirs="bug* sr* deb* ticket* issue*"
+dirs="bug* sr* deb* ticket* issue* gls*"
failures=""
full=n