Merge pull request #161 from marcosnils/test_args

Add test arguments to Makefile targets
This commit is contained in:
Mrunal Patel 2015-07-28 18:10:20 -07:00
commit 9dd338f57e
1 changed files with 2 additions and 2 deletions

View File

@ -17,10 +17,10 @@ runctestimage:
docker build -t $(RUNC_TEST_IMAGE) -f $(TEST_DOCKERFILE) .
test: runctestimage
docker run --privileged --rm -v $(CURDIR):/go/src/$(PROJECT) $(RUNC_TEST_IMAGE) make localtest
docker run -e TESTFLAGS --privileged --rm -v $(CURDIR):/go/src/$(PROJECT) $(RUNC_TEST_IMAGE) make localtest
localtest:
go test -v ./...
go test ${TESTFLAGS} -v ./...
install:
cp runc /usr/local/bin/runc