<p>This is how to pass an argument to a <code>Makefile</code> command:</p>
<p><code>ARG := $(word 2, $(MAKECMDGOALS) )
test:
python manage.py test $(ARG) --parallel --keepdb</code>
Use like this: <code>make test app.tests</code></p>
By clicking “Accept all”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts. Check our privacy policies.