diff options
Diffstat (limited to 'sam/test.sh')
| -rwxr-xr-x | sam/test.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sam/test.sh b/sam/test.sh index a6d5b4e..03b083a 100755 --- a/sam/test.sh +++ b/sam/test.sh @@ -24,6 +24,11 @@ type "$SAM" >/dev/null 2>&1 || { echo "$SAM" $VIS -v +if ! $VIS -v | grep '+lua' >/dev/null 2>&1; then + echo "vis compiled without lua support, skipping tests" + exit 0 +fi + TESTS=$1 [ -z "$TESTS" ] && TESTS=$(find . -name '*.cmd' | sed 's/\.cmd$//g') |
