summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-09-18 02:59:18 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-09-18 02:59:18 (GMT)
commit2e9e2ac1a9f2776efa700cceecd6c62ca748da61 (patch)
tree36b9a19a11491f5222b6280296ba5778555b0eda /c++
parentd562a1eea5a530abb6ba801b7ff31376659e85f9 (diff)
downloadhdf5-2e9e2ac1a9f2776efa700cceecd6c62ca748da61.zip
hdf5-2e9e2ac1a9f2776efa700cceecd6c62ca748da61.tar.gz
hdf5-2e9e2ac1a9f2776efa700cceecd6c62ca748da61.tar.bz2
[svn-r11430] Purpose:
New feature. Description: Added the time command to the make check target to report time usage of the execute of each test and test scripts. This gives us some idea how long each test takes and some vague idea it is compute bound or not. powerpc-ibm-aix5.x: Change $RUNPARALLEL default setting to allow it being invoked by the time command. Platforms tested: h5committested.
Diffstat (limited to 'c++')
-rw-r--r--c++/config/commence.in1
-rw-r--r--c++/config/conclude.in4
2 files changed, 3 insertions, 2 deletions
diff --git a/c++/config/commence.in b/c++/config/commence.in
index 17e5c65..62e3f11 100644
--- a/c++/config/commence.in
+++ b/c++/config/commence.in
@@ -32,6 +32,7 @@ CP=cp
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DATA=@INSTALL_DATA@
+TIME=time
TRACE=:
## Installation points
diff --git a/c++/config/conclude.in b/c++/config/conclude.in
index 4dcbc80..37fa322 100644
--- a/c++/config/conclude.in
+++ b/c++/config/conclude.in
@@ -51,7 +51,7 @@ _check-s: tests
echo "====================================="; \
echo ""; \
srcdir="$(srcdir)" \
- ./$$test $(TEST_FLAGS) || \
+ $(TIME) ./$$test $(TEST_FLAGS) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
break; \
fi; \
@@ -65,7 +65,7 @@ _check-s: tests
echo "====================================="; \
echo ""; \
srcdir="$(srcdir)" \
- /bin/sh $$test $(TEST_FLAGS) || \
+ $(TIME) /bin/sh $$test $(TEST_FLAGS) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
break; \
fi; \