diff --git a/Makefile b/Makefile index a1d49d35185dcde77f3dedc695a0e26c2cfc3a35..43aab9257ae1a0327c00222e0756be0b30aff43b 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ test: test-image test-coverage: test-image rm -rf ${PWD}/coverage mkdir -m 777 ${PWD}/coverage - $(DOCKER) run $(RUN_OPTIONS) -v ${PWD}/coverage:/coverage -e COVERAGE_DIR=/coverage $(IMAGE) make test-coverage + $(DOCKER) run $(RUN_OPTIONS) -v ${PWD}/coverage:/coverage -e COVERAGE_DIR=/coverage $(IMAGE) make BATS_ARGS="$(BATS_ARGS)" test-coverage dev-env: test-image $(DOCKER) run $(RUN_OPTIONS) --tty --interactive $(IMAGE) /bin/bash diff --git a/test/Makefile b/test/Makefile index 0a53c6aeafdcefb9d17b3b4751e697d16d4719e0..f079ce5bae327d39f8ae06b8591c4e7abbae93d7 100644 --- a/test/Makefile +++ b/test/Makefile @@ -10,6 +10,6 @@ test-coverage: --include-path=$(CURDIR)/../ \ --exclude-path=$(CURDIR)/../test,$(CURDIR)/../cron-jobs/makepkg.conf,$(CURDIR)/../config \ $(COVERAGE_DIR) \ - bats $(CASES) + bats $(BATS_ARGS) $(CASES) .PHONY: test test-coverage