Merge pull request #161 from marcosnils/test_args
Add test arguments to Makefile targets
This commit is contained in:
commit
9dd338f57e
4
Makefile
4
Makefile
|
@ -17,10 +17,10 @@ runctestimage:
|
||||||
docker build -t $(RUNC_TEST_IMAGE) -f $(TEST_DOCKERFILE) .
|
docker build -t $(RUNC_TEST_IMAGE) -f $(TEST_DOCKERFILE) .
|
||||||
|
|
||||||
test: runctestimage
|
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:
|
localtest:
|
||||||
go test -v ./...
|
go test ${TESTFLAGS} -v ./...
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cp runc /usr/local/bin/runc
|
cp runc /usr/local/bin/runc
|
||||||
|
|
Loading…
Reference in New Issue