From c7478518b42a95006d49cc58b0b8c223ae84f9e5 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Tue, 13 May 2003 10:21:42 -0500 Subject: [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: --- config/conclude.in | 3 +++ 1 file changed, 3 insertions(+) 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; \ -- cgit v0.12