diff options
Diffstat (limited to 'plugins/eunit.mk')
-rw-r--r-- | plugins/eunit.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/eunit.mk b/plugins/eunit.mk index 892e01e..9739e0e 100644 --- a/plugins/eunit.mk +++ b/plugins/eunit.mk @@ -63,6 +63,8 @@ eunit: test-build $(if $(IS_APP),,apps-eunit) ifneq ($(ALL_APPS_DIRS),) apps-eunit: - $(verbose) for app in $(ALL_APPS_DIRS); do $(MAKE) -C $$app eunit IS_APP=1; done + $(verbose) eunit_retcode=0 ; for app in $(ALL_APPS_DIRS); do $(MAKE) -C $$app eunit IS_APP=1; \ + [ $$? -ne 0 ] && eunit_retcode=1 ; done ; \ + exit $$eunit_retcode endif endif |