Update the Makefile so tests will run correctly

This commit is contained in:
w0rp 2017-05-15 20:49:22 +01:00
parent 548c1a1007
commit 72f5aae74e
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
SHELL := /usr/bin/env bash
IMAGE ?= w0rp/ale
IMAGE ?= w0rp/ale:30a9967dbdb1
CURRENT_IMAGE_ID = 30a9967dbdb1
DOCKER_FLAGS = --rm -v $(PWD):/testplugin -v $(PWD)/test:/home "$(IMAGE)"
tests = test/*.vader test/*/*.vader test/*/*/*.vader test/*/*/*/*.vader
test-setup:
docker images -q w0rp/ale | grep ^$(CURRENT_IMAGE_ID) > /dev/null || \
docker pull $(IMAGE)
docker pull w0rp/ale
vader: test-setup
@:; \