From: Salvatore CRO <salvatore....@st.com>

Test clean can be invoked with -j to exploits parallelism.
Verbosity mechanism aligned to main libc one.

Signed-off-by: Salvatore Cro <salvatore....@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amor...@st.com>
---
 Makefile.in    |    2 +-
 test/Rules.mak |   10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index b7b4917..9512032 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -481,7 +481,7 @@ include_clean:
 clean: include_clean
        $(Q)$(RM) -r $(top_builddir)lib $(top_builddir)include/bits
        @$(MAKE) -C utils CLEAN_utils
-       +$(MAKE) -s -C test clean
+       +$(MAKE) -j -C test clean
        @$(RM) $(top_builddir)include/linux $(top_builddir)include/asm*
        $(Q)$(RM) $(top_builddir)extra/scripts/unifdef
        $(Q)$(RM) -r $(LOCAL_INSTALL_PATH)
diff --git a/test/Rules.mak b/test/Rules.mak
index 2131a7b..efec928 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -104,9 +104,15 @@ Q    := @
 SCAT := -@true
 else
 ifneq ($(V)$(VERBOSE),)
+ifeq ($(V),1)
+DISP := bri# brief, currently same as pur
+Q := @
+SCAT := -@true
+else
 DISP := ver
 Q    :=
 SCAT := cat
+endif
 else
 DISP := pur
 Q    := @
@@ -130,6 +136,10 @@ ver_showclean =
 ver_showdiff  = true echo
 ver_showlink  = true echo
 ver_showtest  = printf "\n$(banner)\nTEST $(notdir $(CURDIR))/ 
$(@:.exe=)\n$(banner)\n"
+bri_showclean = $(pur_showclean)
+bri_showdiff = $(pur_showdiff)
+bri_showlink = $(pur_showlink)
+bri_showtest = $(pur_showtest)
 do_showclean  = $($(DISP)_showclean)
 do_showdiff   = $($(DISP)_showdiff)
 do_showlink   = $($(DISP)_showlink)
-- 
1.7.4.4

_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to