mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
Merge pull request #1645 from authmillenon/unittests-empty-dirs
unittests: make: Fix unittests for branch changes
This commit is contained in:
commit
2fc0ae28cf
@ -19,7 +19,7 @@ else ifeq ($(OUTPUT),COMPILER)
|
||||
endif
|
||||
|
||||
ifeq (, $(filter tests-%, $(MAKECMDGOALS)))
|
||||
UNIT_TESTS := $(shell find -mindepth 1 -maxdepth 1 -type d -name 'tests-*' -printf '%f ')
|
||||
UNIT_TESTS := $(foreach d,$(wildcard tests-*/Makefile),$(shell dirname $(d)))
|
||||
else
|
||||
UNIT_TESTS := $(filter tests-%, $(MAKECMDGOALS))
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user