Joey Armstrong | 44fa7d8 | 2022-11-01 17:46:04 -0400 | [diff] [blame] | 1 | # -*- makefile -*- |
| 2 | # ----------------------------------------------------------------------- |
| 3 | # ----------------------------------------------------------------------- |
| 4 | |
| 5 | null :=# |
| 6 | space :=$(null) $(null) |
| 7 | |
| 8 | PYTHON ?= /usr/bin/env python |
| 9 | |
| 10 | ## ----------------------------------------------------------------------- |
| 11 | ## ----------------------------------------------------------------------- |
| 12 | all: try |
| 13 | |
| 14 | ## ----------------------------------------------------------------------- |
| 15 | ## ----------------------------------------------------------------------- |
| 16 | test-args += -m unittest |
| 17 | check test: |
| 18 | $(PYTHON) $(test-args) discover -v |
| 19 | |
| 20 | ## ----------------------------------------------------------------------- |
| 21 | ## ----------------------------------------------------------------------- |
| 22 | help: |
| 23 | @echo "USAGE: $(MAKE)" |
| 24 | @echo " all" |
| 25 | @echo " test Invoke available unit tests (find . -name 'test_*.py')" |
| 26 | |
| 27 | # [EOF] |