Skip to content

Commit

Permalink
Fix unittest auto-discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
xs5871 committed Jan 28, 2024
1 parent e0f3b82 commit 0334a85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ test: lint unit-tests

.PHONY: unit-tests
unit-tests: devdeps
ifdef TESTS
@$(PIPENV) run python3 -m unittest $(TESTS)
else
@$(PIPENV) run python3 -m unittest discover -t . -s tests
endif # TESTS

reset-bootloader:
@echo "===> Rebooting your board to bootloader (safe to ignore file not found errors)"
Expand Down

0 comments on commit 0334a85

Please sign in to comment.