]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/Makefile.in
ICU-400.37.tar.gz
[apple/icu.git] / icuSources / test / Makefile.in
index b2d8386b998028f39bd91ac08b0fcd1741d8ade1..d138ccfae211e3b037b165cbd72716460bfd6c41 100644 (file)
@@ -1,5 +1,5 @@
 ## Makefile.in for ICU tests
-## Copyright (c) 1999-2004, International Business Machines Corporation and
+## Copyright (c) 1999-2008, International Business Machines Corporation and
 ## others. All Rights Reserved.
 
 ## Source directory information
@@ -40,13 +40,14 @@ install: install-recursive install-local
 clean: clean-recursive clean-local
 distclean : distclean-recursive distclean-local
        $(RMV) hdrtst/Makefile
+       $(RMV) perf/convperf/Makefile
 
 dist: dist-recursive dist-local
 check: everything check-recursive check-local
 check-recursive: all-recursive
 
 ## Recursive targets
-all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive:
+all-recursive install-recursive clean-recursive distclean-recursive dist-recursive:
        @dot_seen=no; \
        target=`echo $@ | sed s/-recursive//`; \
        list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -63,6 +64,28 @@ all-recursive install-recursive clean-recursive distclean-recursive dist-recursi
          $(MAKE) "$$target-local" || exit; \
        fi
 
+check-recursive:
+       @goods=; \
+       bads=; \
+       target=`echo $@ | sed s/-recursive//`; \
+       list='$(SUBDIRS)'; for subdir in $$list; do \
+         echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \
+         local_target="$$target"; \
+         if (cd $$subdir && $(MAKE) $$local_target); then \
+           goods="$$goods $$subdir"; \
+          else \
+            bads="$$bads $$subdir"; \
+          fi; \
+       done; \
+       echo "---------------"; \
+       echo "ALL TESTS SUMMARY:"; \
+        if test ! "x$$bads" = "x"; then \
+         echo "ok: $$goods"; \
+         echo "===== ERRS: $$bads"; exit 1; \
+       else \
+         echo "All tests OK: $$goods"; \
+       fi
+
 all-local:
 
 install-local: