summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2003-05-13 15:21:42 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2003-05-13 15:21:42 (GMT)
commitc7478518b42a95006d49cc58b0b8c223ae84f9e5 (patch)
treec4d04a7a157245cc3de04da27afa6aca87f48f35
parentae3c53acf1a81ccd0cf59da27f0b0edefd88481e (diff)
downloadhdf5-c7478518b42a95006d49cc58b0b8c223ae84f9e5.zip
hdf5-c7478518b42a95006d49cc58b0b8c223ae84f9e5.tar.gz
hdf5-c7478518b42a95006d49cc58b0b8c223ae84f9e5.tar.bz2
[svn-r6854] Purpose:
Feature Description: Sometimes the total build process take a long time, especially in parallel systems. Need some idea if some times are taking way too long to process. Solution: Added timestamps marking the beginning and ending of tests in one directory. This gives a rough idea of how much time the tests use. Platforms tested: Tested only in Eirene since this is just a makefile thing and only involve a simple command like echo and date. Misc. update:
-rw-r--r--config/conclude.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/conclude.in b/config/conclude.in
index 8c561b6..18b6020 100644
--- a/config/conclude.in
+++ b/config/conclude.in
@@ -32,9 +32,11 @@ TAGS: $(LIB_SRC)
## Runs each test in order, passing $(TEST_FLAGS) to the program.
## Since tests are done in a shell loop, "make -i" does apply inside it.
## Set HDF5_Make_Ignore to a non-blank string to ignore errors inside the loop.
+## The timestamps give a rough idea how much time the tests use.
##
tests: $(TEST_PROGS) $(TEST_PROGS_PARA) $(TEST_SCRIPTS) $(LIB)
check test _test: tests
+ @echo "===Tests begin `date`==="
@for test in $(TEST_PROGS) dummy; do \
if test $$test != dummy; then \
echo "============================"; \
@@ -85,6 +87,7 @@ check test _test: tests
fi; \
done; \
test $$test = dummy || false
+ @echo "===Tests ended `date`==="
@for d in X $(SUBDIRS); do \
if test $$d != X; then \
(set -x; cd $$d && $(MAKE) tests) || exit 1; \