diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2005-09-18 02:59:18 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2005-09-18 02:59:18 (GMT) |
commit | 2e9e2ac1a9f2776efa700cceecd6c62ca748da61 (patch) | |
tree | 36b9a19a11491f5222b6280296ba5778555b0eda /fortran/config | |
parent | d562a1eea5a530abb6ba801b7ff31376659e85f9 (diff) | |
download | hdf5-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 'fortran/config')
-rw-r--r-- | fortran/config/commence.in | 1 | ||||
-rw-r--r-- | fortran/config/conclude.in | 10 | ||||
-rw-r--r-- | fortran/config/powerpc-ibm-aix5.x | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/fortran/config/commence.in b/fortran/config/commence.in index f291361..6946fd2 100644 --- a/fortran/config/commence.in +++ b/fortran/config/commence.in @@ -40,6 +40,7 @@ PARALLEL=@PARALLEL@ RUNSERIAL=@RUNSERIAL@ RUNPARALLEL=@RUNPARALLEL@ RUNTEST=$(RUNSERIAL) +TIME=time TRACE=: ## Installation points diff --git a/fortran/config/conclude.in b/fortran/config/conclude.in index 3e79bfa..2de796f 100644 --- a/fortran/config/conclude.in +++ b/fortran/config/conclude.in @@ -46,7 +46,7 @@ _check-s: tests echo "Testing $$test $(TEST_FLAGS)"; \ echo "============================"; \ srcdir="$(srcdir)" \ - $(RUNTEST) ./$$test $(TEST_FLAGS) || \ + $(TIME) $(RUNTEST) ./$$test $(TEST_FLAGS) || \ (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ break; \ echo ""; \ @@ -60,7 +60,7 @@ _check-s: tests echo "============================"; \ RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \ srcdir="$(srcdir)" \ - /bin/sh $$test $(TEST_FLAGS) || \ + $(TIME) /bin/sh $$test $(TEST_FLAGS) || \ (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ break; \ echo ""; \ @@ -86,21 +86,21 @@ _check-p: tests echo "Testing $$test $(TEST_FLAGS)"; \ echo "============================"; \ srcdir="$(srcdir)" \ - $(RUNPARALLEL) ./$$test $(TEST_FLAGS) || \ + $(TIME) $(RUNPARALLEL) ./$$test $(TEST_FLAGS) || \ (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ break; \ echo ""; \ fi; \ done; \ test $$test = dummy || false - @for test in $(TEST_SCRIPTS_PARA) dummy; do \ + @for test in $(TEST_SCRIPTS_PARA) dummy; do \ if test $$test != dummy; then \ echo "============================"; \ echo "Testing $$test $(TEST_FLAGS)"; \ echo "============================"; \ RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \ srcdir="$(srcdir)" \ - /bin/sh $$test $(TEST_FLAGS) || \ + $(TIME) /bin/sh $$test $(TEST_FLAGS) || \ (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ break; \ echo ""; \ diff --git a/fortran/config/powerpc-ibm-aix5.x b/fortran/config/powerpc-ibm-aix5.x index f463491..570fe0c 100644 --- a/fortran/config/powerpc-ibm-aix5.x +++ b/fortran/config/powerpc-ibm-aix5.x @@ -18,7 +18,7 @@ fi # Define RUNPARALLEL if parallel mode is enabled or a parallel compiler used. if test "X-$enable_parallel" = "X-yes" -o X-$CC_BASENAME = X-mpcc_r; then - RUNPARALLEL=${RUNPARALLEL="MP_PROCS=\$\${NPROCS:=3} MP_TASKS_PER_NODE=\$\${NPROCS:=3} poe"} + RUNPARALLEL=${RUNPARALLEL="env MP_PROCS=\$\${NPROCS:=3} MP_TASKS_PER_NODE=\$\${NPROCS:=3} poe"} fi |