From 517c05a9c23027b1c41a84995767ed4e0907f42b Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Tue, 2 Apr 2019 02:34:19 -0400 Subject: [PATCH] Allow passing arguments to the makefile targets Add an ARGUMENTS option to the test-all and test targets. Signed-off-by: Roberto Rosario --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index def162954d..01d32f1793 100644 --- a/Makefile +++ b/Makefile @@ -67,10 +67,10 @@ clean-pyc: # Testing test: - ./manage.py test $(MODULE) --settings=mayan.settings.testing.development --nomigrations + ./manage.py test $(MODULE) --settings=mayan.settings.testing.development --nomigrations $(ARGUMENTS) test-all: - ./manage.py test --mayan-apps --settings=mayan.settings.testing.development --nomigrations + ./manage.py test --mayan-apps --settings=mayan.settings.testing.development --nomigrations $(ARGUMENTS) test-launch-postgres: @docker rm -f test-postgres || true