Skip to content
Snippets Groups Projects
Commit 2fc0ae28 authored by Martine Lenders's avatar Martine Lenders
Browse files

Merge pull request #1645 from authmillenon/unittests-empty-dirs

unittests: make: Fix unittests for branch changes
parents 912ee7f6 4c6e17b3
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ else ifeq ($(OUTPUT),COMPILER) ...@@ -19,7 +19,7 @@ else ifeq ($(OUTPUT),COMPILER)
endif endif
ifeq (, $(filter tests-%, $(MAKECMDGOALS))) 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 else
UNIT_TESTS := $(filter tests-%, $(MAKECMDGOALS)) UNIT_TESTS := $(filter tests-%, $(MAKECMDGOALS))
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment