diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-12-04 20:31:14 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-12-04 20:31:14 (GMT) |
| commit | 2bb5ae3a89755c0522d4b0c332b25538114c9dfc (patch) | |
| tree | 623c1196f829eea12086852902123b95dd0af73f /Makefile | |
| parent | f1f5cc9e0c113bf44c7ca2ce58ed1c41089a1b7f (diff) | |
Makefile: Allow specific tests to be run
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -98,9 +98,13 @@ sim: PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=.:wasp/boards/simulator:wasp \ $(PYTHON) -i wasp/boards/simulator/main.py +ifeq ("$(origin K)", "command line") + PYTEST_RESTRICT = -k '$(K)' +endif + check: PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=.:wasp/boards/simulator:wasp \ - $(PYTEST) -v -W ignore wasp/boards/simulator + $(PYTEST) -v -W ignore $(PYTEST_RESTRICT) wasp/boards/simulator .PHONY: bootloader reloader docs micropython |
