1
0
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:
Martine Lenders 2014-10-01 12:01:41 +02:00
commit 2fc0ae28cf

View File

@ -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