Stop using globstar for tests, so they can be run on Mac OSX

This commit is contained in:
w0rp 2017-03-14 15:08:26 +00:00
parent 6f0fc965ab
commit 5836d9a9a7

View File

@ -2,10 +2,9 @@ SHELL := /usr/bin/env bash
IMAGE ?= w0rp/ale IMAGE ?= w0rp/ale
CURRENT_IMAGE_ID = 107e4efc4267 CURRENT_IMAGE_ID = 107e4efc4267
DOCKER_FLAGS = --rm -v $(PWD):/testplugin -v $(PWD)/test:/home "$(IMAGE)" DOCKER_FLAGS = --rm -v $(PWD):/testplugin -v $(PWD)/test:/home "$(IMAGE)"
tests = test/** tests = test/*.vader test/*/*.vader test/*/*/*.vader test/*/*/*/*.vader
test-setup: test-setup:
shopt -s globstar; \
docker images -q w0rp/ale | grep ^$(CURRENT_IMAGE_ID) > /dev/null || \ docker images -q w0rp/ale | grep ^$(CURRENT_IMAGE_ID) > /dev/null || \
docker pull $(IMAGE) docker pull $(IMAGE)