ICU-8936 Add check-exhaustive make target to run the test suite in exhaustive mode

X-SVN-Rev: 30961
This commit is contained in:
Michael Ow 2011-11-14 22:33:19 +00:00
parent 57e2360211
commit e144d4ff66
16 changed files with 64 additions and 23 deletions

View File

@ -68,7 +68,8 @@ EXTRA_DATA =
install-recursive clean clean-local clean-recursive distclean \
distclean-local distclean-recursive doc dist dist-local dist-recursive \
check check-local check-recursive clean-recursive-with-twist install-icu \
doc install-doc tests icu4j-data icu4j-data-install update-windows-makefiles xcheck-local xcheck-recursive xperf xcheck xperf-recursive
doc install-doc tests icu4j-data icu4j-data-install update-windows-makefiles xcheck-local xcheck-recursive xperf xcheck xperf-recursive \
check-exhaustive check-exhaustive-recursive
## Clear suffix list
.SUFFIXES :
@ -83,6 +84,7 @@ check: all check-recursive
check-recursive: all
xcheck: all xcheck-recursive
xperf: all xperf-recursive
check-exhaustive: all check-exhaustive-recursive
xcheck-recursive: all xcheck-local
@$(MAKE) -C test xcheck
@ -119,7 +121,7 @@ $(LIBDIR) $(BINDIR):
-$(MKINSTALLDIRS) $@
## Recursive targets
all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive: $(LIBDIR) $(BINDIR)
all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive check-exhaustive-recursive: $(LIBDIR) $(BINDIR)
@dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(LOCAL_SUBDIRS)'; for subdir in $$list; do \

View File

@ -116,7 +116,7 @@ DEPS = $(OBJECTS:.o=.d)
## List of phony targets
.PHONY : all all-local install install-local clean clean-local \
distclean distclean-local install-library install-headers dist \
dist-local check check-local
dist-local check check-local check-exhaustive
## Clear suffix list
.SUFFIXES :
@ -129,6 +129,8 @@ distclean : distclean-local
dist: dist-local
check: all check-local
check-exhaustive: check
all-local: $(ALL_TARGETS)
install-local: install-headers install-library

View File

@ -104,7 +104,8 @@ TOOLDIR=$(top_builddir)/tools
.PHONY : all all-local all-recursive install install-local install-files \
install-recursive clean clean-local clean-recursive distclean \
distclean-local distclean-recursive dist dist-local dist-recursive \
check check-local check-recursive build-local clean-resindex build-dir icudata.jar
check check-local check-recursive build-local clean-resindex build-dir icudata.jar \
check-exhaustive
## Clear suffix list
.SUFFIXES :
@ -117,6 +118,8 @@ distclean : distclean-local
dist:
check: all
check-exhaustive: check
-include Makefile.local

View File

@ -1,6 +1,6 @@
#******************************************************************************
#
# Copyright (C) 1999-2004, International Business Machines
# Copyright (C) 1999-2011, International Business Machines
# Corporation and others. All Rights Reserved.
#
#******************************************************************************
@ -27,7 +27,7 @@ SUBDIRS = uconv
.PHONY : all all-local all-recursive install install-local \
install-recursive clean clean-local clean-recursive distclean \
distclean-local distclean-recursive dist dist-recursive dist-local \
check check-recursive check-local
check check-recursive check-local check-exhaustive
## Clear suffix list
.SUFFIXES :
@ -40,6 +40,8 @@ distclean : distclean-recursive distclean-local
dist: dist-recursive dist-local
check: all check-recursive check-local
check-exhaustive: check
## Recursive targets
all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive:
@dot_seen=no; \

View File

@ -96,7 +96,7 @@ DEPS = $(OBJECTS:.o=.d)
## List of phony targets
.PHONY : all all-local install install-local clean clean-local \
distclean distclean-local install-library install-headers dist \
dist-local check check-local
dist-local check check-local check-exhaustive
## Clear suffix list
.SUFFIXES :
@ -109,6 +109,8 @@ distclean : distclean-local
dist: dist-local
check: all check-local
check-exhaustive: check
all-local: $(ALL_TARGETS)
install-local: install-headers install-library

View File

@ -74,7 +74,7 @@ DEPS = $(OBJECTS:.o=.d)
## List of phony targets
.PHONY : all all-local install install-local clean clean-local \
distclean distclean-local install-library install-headers dist \
dist-local check check-local
dist-local check check-local check-exhaustive
## Clear suffix list
.SUFFIXES :
@ -87,6 +87,8 @@ distclean : distclean-local
dist: dist-local
check: all check-local
check-exhaustive: check
all-local: $(ALL_TARGETS)
install-local: install-headers install-library

View File

@ -144,7 +144,7 @@ DEPS = $(OBJECTS:.o=.d)
## List of phony targets
.PHONY : all all-local install install-local clean clean-local \
distclean distclean-local install-library install-headers dist \
dist-local check check-local
dist-local check check-local check-exhaustive
## Clear suffix list
.SUFFIXES :
@ -157,6 +157,8 @@ distclean : distclean-local
dist: dist-local
check: all check-local
check-exhaustive: check
all-local: $(ALL_TARGETS)
install-local: install-headers install-library

View File

@ -75,7 +75,7 @@ DEPS = $(OBJECTS:.o=.d)
## List of phony targets
.PHONY : all all-local install install-local clean clean-local \
distclean distclean-local install-library install-headers dist \
dist-local check check-local
dist-local check check-local check-exhaustive
## Clear suffix list
.SUFFIXES :
@ -88,6 +88,8 @@ distclean : distclean-local
dist: dist-local
check: all check-local
check-exhaustive: check
all-local: $(ALL_TARGETS)
install-local: install-headers install-library

View File

@ -1,5 +1,5 @@
## Makefile.in for ICU samples
## Copyright (c) 1999-2010, International Business Machines Corporation and
## Copyright (c) 1999-2011, International Business Machines Corporation and
## others. All Rights Reserved.
## Install directory information
@ -26,7 +26,7 @@ ALLSUBDIRS = break case csdet datefmt msgfmt numfmt props translit ucnv udata uf
.PHONY : all all-local all-recursive install install-local \
install-recursive clean clean-local clean-recursive distclean \
distclean-local distclean-recursive dist dist-recursive dist-local \
check check-recursive check-local
check check-recursive check-local check-exhaustive
## Clear suffix list
.SUFFIXES :
@ -46,6 +46,7 @@ check-samples: check-samples-recursive
#check: all check-recursive check-local
check: all check-local
check-exhaustive: check
## Recursive targets
all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive:

View File

@ -60,7 +60,7 @@ DEPS = $(OBJECTS:.o=.d)
## List of phony targets
.PHONY : all all-local install install-local clean clean-local \
distclean distclean-local install-library dist \
dist-local check check-local
dist-local check check-local check-exhaustive
## Clear suffix list
.SUFFIXES :
@ -73,6 +73,8 @@ distclean : distclean-local
dist: dist-local
check: all check-local
check-exhaustive: check
all-local: $(ALL_TARGETS)
install-local: install-library

View File

@ -1,5 +1,5 @@
## Makefile.in for ICU tests
## Copyright (c) 1999-2010, International Business Machines Corporation and
## Copyright (c) 1999-2011, International Business Machines Corporation and
## others. All Rights Reserved.
## Source directory information
@ -24,7 +24,8 @@ SUBDIRS = testdata intltest $(IOTEST) cintltst
.PHONY : everything all all-local all-recursive install install-local \
install-recursive clean clean-local clean-recursive distclean \
distclean-local distclean-recursive dist dist-recursive dist-local \
check check-recursive check-local xcheck xcheck-recursive xcheck-local
check check-recursive check-local xcheck xcheck-recursive xcheck-local \
check-exhaustive check-exhaustive-recursive
## Clear suffix list
.SUFFIXES :
@ -48,6 +49,7 @@ check-recursive: all-recursive
# the xcheck targets create a ../test-*.xml file in JUnit format.
xcheck: everything xcheck-recursive xcheck-local
xcheck-recursive: all-recursive
check-exhaustive: everything check-exhaustive-recursive check-local
## Recursive targets
all-recursive install-recursive clean-recursive distclean-recursive dist-recursive:
@ -67,7 +69,7 @@ all-recursive install-recursive clean-recursive distclean-recursive dist-recursi
$(MAKE) "$$target-local" || exit; \
fi
xcheck-recursive check-recursive:
xcheck-recursive check-recursive check-exhaustive-recursive:
@goods=; \
bads=; \
target=`echo $@ | sed s/-recursive//`; \

View File

@ -57,7 +57,8 @@ DEPS = $(OBJECTS:.o=.d)
## List of phony targets
.PHONY : all all-local install install-local clean clean-local \
distclean distclean-local dist dist-local check check-local xcheck
distclean distclean-local dist dist-local check check-local xcheck \
check-exhaustive check-exhaustive-local
## Clear suffix list
.SUFFIXES :
@ -70,6 +71,7 @@ distclean : distclean-local
dist: dist-local
check: all check-local
xcheck: all xcheck-local
check-exhaustive: all check-exhaustive-local
all-local: $(TARGET)
@ -87,6 +89,9 @@ distclean-local: clean-local
check-local: all-local
$(INVOKE) ./$(TARGET) $(CINTLTST_OPTS)
check-exhaustive-local: all-local
$(INVOKE) ./$(TARGET) -e
TESTXML=$(top_builddir)/test-$(TARGET).xml
xcheck-local: all-local
$(INVOKE) ./$(TARGET) $(CINTLTST_OPTS) -x $(TESTXML)

View File

@ -63,7 +63,8 @@ DEPS = $(OBJECTS:.o=.d)
## List of phony targets
.PHONY : all all-local install install-local clean clean-local \
distclean distclean-local dist dist-local check check-local xcheck xcheck-local
distclean distclean-local dist dist-local check check-local xcheck xcheck-local \
check-exhaustive check-exhaustive-local
## Clear suffix list
.SUFFIXES :
@ -76,6 +77,7 @@ distclean : distclean-local
dist: dist-local
check: all check-local
xcheck: all xcheck-local
check-exhaustive: all check-exhaustive-local
all-local: $(TARGET)
@ -93,6 +95,9 @@ distclean-local: clean-local
check-local: all-local
$(INVOKE) ./$(TARGET) $(INTLTEST_OPTS)
check-exhaustive-local: all-local
$(INVOKE) ./$(TARGET) -e
TESTXML=$(top_builddir)/test-$(TARGET).xml
xcheck-local: all-local
$(INVOKE) ./$(TARGET) $(INTLTEST_OPTS) -x $(TESTXML)

View File

@ -44,7 +44,8 @@ DEPS = $(OBJECTS:.o=.d)
## List of phony targets
.PHONY : all all-local install install-local clean clean-local \
distclean distclean-local dist dist-local check check-local xcheck
distclean distclean-local dist dist-local check check-local xcheck \
check-exhaustive check-exhaustive-local
## Clear suffix list
.SUFFIXES :
@ -57,6 +58,7 @@ distclean : distclean-local
dist: dist-local
check: all check-local
xcheck: all xcheck-local
check-exhaustive: all check-exhaustive-local
all-local: $(TARGET)
@ -74,6 +76,9 @@ distclean-local: clean-local
check-local: all-local
$(INVOKE) ./$(TARGET) $(IOTEST_OPTS)
check-exhaustive-local: all-local
$(INVOKE) ./$(TARGET) -e
TESTXML=$(top_builddir)/test-$(TARGET).xml
xcheck-local: all-local
$(INVOKE) ./$(TARGET) $(IOTEST_OPTS) -x $(TESTXML)

View File

@ -1,6 +1,6 @@
#******************************************************************************
#
# Copyright (C) 1998-2010, International Business Machines
# Copyright (C) 1998-2011, International Business Machines
# Corporation and others. All Rights Reserved.
#
#******************************************************************************
@ -29,7 +29,7 @@ SUBDIRS =
.PHONY : all all-local all-recursive install install-local \
install-recursive clean clean-local clean-recursive distclean \
distclean-local distclean-recursive doc dist dist-local dist-recursive \
check check-local check-recursive build-dir testdata.jar xcheck
check check-local check-recursive build-dir testdata.jar xcheck check-exhaustive
xcheck: all-local
@ -46,6 +46,8 @@ distclean : distclean-local
dist: dist-local
check: all check-local
check-exhaustive: check
all-local: build-dir build-testdata testdata packagetest
install-local:

View File

@ -1,5 +1,5 @@
## Makefile.in for ICU tools
## Copyright (c) 1999-2010, International Business Machines Corporation and
## Copyright (c) 1999-2011, International Business Machines Corporation and
## others. All Rights Reserved.
## Source directory information
@ -21,7 +21,7 @@ gentest gennorm2 gencfu
.PHONY : all all-local all-recursive install install-local \
install-recursive clean clean-local clean-recursive distclean \
distclean-local distclean-recursive dist dist-local dist-recursive \
check check-local check-recursive build-local
check check-local check-recursive build-local check-exhaustive
## Clear suffix list
.SUFFIXES :
@ -34,6 +34,8 @@ distclean : distclean-recursive
dist: dist-recursive
check: all check-recursive
check-exhaustive: check
## Recursive targets
all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive:
@dot_seen=no; \