summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Firshman <ben@firshman.co.uk>2016-09-14 12:37:26 +0100
committerBen Firshman <ben@firshman.co.uk>2016-09-14 17:14:58 +0100
commit1a57f8800e4ef435392123321512ea57ebee5846 (patch)
tree1bc9494f402c68c678c857835d995fd1504707a2
parente676840945217d47b510bbc1c3232c1228fb809a (diff)
downloaddocker-py-1a57f8800e4ef435392123321512ea57ebee5846.tar.gz
Add file arg to integration tests
make integration-test file=models_services_test.py Signed-off-by: Ben Firshman <ben@firshman.co.uk>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1fb21d4..db19709 100644
--- a/Makefile
+++ b/Makefile
@@ -35,11 +35,11 @@ unit-test-py3: build-py3
.PHONY: integration-test
integration-test: build
- docker run -v /var/run/docker.sock:/var/run/docker.sock docker-py py.test tests/integration
+ docker run -v /var/run/docker.sock:/var/run/docker.sock docker-py py.test tests/integration/${file}
.PHONY: integration-test-py3
integration-test-py3: build-py3
- docker run -v /var/run/docker.sock:/var/run/docker.sock docker-py3 py.test tests/integration
+ docker run -v /var/run/docker.sock:/var/run/docker.sock docker-py3 py.test tests/integration/${file}
.PHONY: integration-dind
integration-dind: build build-py3