aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rwxr-xr-xlua/test.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/test.sh b/lua/test.sh
index 4209f5c..d4193e0 100755
--- a/lua/test.sh
+++ b/lua/test.sh
@@ -4,6 +4,11 @@ export VIS_PATH=.
[ -z "$VIS" ] && VIS="../../vis"
$VIS -v
+if ! $VIS -v | grep '+lua' >/dev/null 2>&1; then
+ echo "vis compiled without lua support, skipping tests"
+ exit 0
+fi
+
TESTS_OK=0
TESTS_RUN=0