From e491a98a2c79c372bb72aa75e19c5d55f19bffa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 14 Feb 2017 14:23:58 +0100 Subject: Skip tests if Lua support is not compiled in --- lua/test.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lua/test.sh') 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 -- cgit v1.2.3