diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2005-08-08 17:30:23 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2005-08-08 17:30:23 (GMT) |
commit | fbb2dd8545d2fa273e948ee589c05f739d5b0362 (patch) | |
tree | a0b8f6d16d3f62d2cafde7e2ea0578ec2e70e73b /c++ | |
parent | 1b760b2fd52f0a84af2353e8e7a83dd2686ddc23 (diff) | |
download | hdf5-fbb2dd8545d2fa273e948ee589c05f739d5b0362.zip hdf5-fbb2dd8545d2fa273e948ee589c05f739d5b0362.tar.gz hdf5-fbb2dd8545d2fa273e948ee589c05f739d5b0362.tar.bz2 |
[svn-r11213] Purpose:
Bug fix and improvement.
Description:
The test output were not displayed for parallel tests.
The serial tests output were always displayed whether the test was
actually ran this time or not.
Solution:
Moved the display of test output inside the target where the actual
tests are run.
Platforms tested:
Tested in heping using pp and fortran.
Diffstat (limited to 'c++')
-rw-r--r-- | c++/Makefile.in | 9 | ||||
-rw-r--r-- | c++/examples/Makefile.in | 9 | ||||
-rw-r--r-- | c++/src/Makefile.in | 9 | ||||
-rw-r--r-- | c++/test/Makefile.in | 9 |
4 files changed, 8 insertions, 28 deletions
diff --git a/c++/Makefile.in b/c++/Makefile.in index 42b78ee..1886259 100644 --- a/c++/Makefile.in +++ b/c++/Makefile.in @@ -712,13 +712,6 @@ build-check-s: $(LIB) $(PROGS) $(TESTS) fi _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) - @for d in dummy $(TEST_PROG_CHKEXE:.chkexe_=.log) \ - $(TEST_SCRIPT_CHKSH:.chksh_=.logsh); do \ - if test $$d != dummy && test $$d != .log && \ - test $$d != .logsh; then \ - cat `basename $$d`; \ - fi; \ - done # The dummy.chkexe here prevents the target from being # empty if there are no tests in the current directory. @@ -753,6 +746,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: echo "Finished testing $${tname} $(TEST_FLAGS)" >> $${log}; \ echo "============================" >> $${log}; \ echo "Finished testing $${tname} $(TEST_FLAGS)"; \ + cat $${log}; \ fi; \ echo "============================"; \ fi @@ -791,6 +785,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: echo "Finished testing $${tname} $(TEST_FLAGS)" >> $${log}; \ echo "============================" >> $${log}; \ echo "Finished testing $${tname} $(TEST_FLAGS)"; \ + cat $${log}; \ fi; \ echo "============================"; \ fi diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in index fe74d83..6f07a84 100644 --- a/c++/examples/Makefile.in +++ b/c++/examples/Makefile.in @@ -609,13 +609,6 @@ build-check-s: $(LIB) $(PROGS) $(TESTS) fi _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) - @for d in dummy $(TEST_PROG_CHKEXE:.chkexe_=.log) \ - $(TEST_SCRIPT_CHKSH:.chksh_=.logsh); do \ - if test $$d != dummy && test $$d != .log && \ - test $$d != .logsh; then \ - cat `basename $$d`; \ - fi; \ - done # The dummy.chkexe here prevents the target from being # empty if there are no tests in the current directory. @@ -650,6 +643,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: echo "Finished testing $${tname} $(TEST_FLAGS)" >> $${log}; \ echo "============================" >> $${log}; \ echo "Finished testing $${tname} $(TEST_FLAGS)"; \ + cat $${log}; \ fi; \ echo "============================"; \ fi @@ -688,6 +682,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: echo "Finished testing $${tname} $(TEST_FLAGS)" >> $${log}; \ echo "============================" >> $${log}; \ echo "Finished testing $${tname} $(TEST_FLAGS)"; \ + cat $${log}; \ fi; \ echo "============================"; \ fi diff --git a/c++/src/Makefile.in b/c++/src/Makefile.in index b33082c..78b3824 100644 --- a/c++/src/Makefile.in +++ b/c++/src/Makefile.in @@ -798,13 +798,6 @@ build-check-s: $(LIB) $(PROGS) $(TESTS) fi _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) - @for d in dummy $(TEST_PROG_CHKEXE:.chkexe_=.log) \ - $(TEST_SCRIPT_CHKSH:.chksh_=.logsh); do \ - if test $$d != dummy && test $$d != .log && \ - test $$d != .logsh; then \ - cat `basename $$d`; \ - fi; \ - done # The dummy.chkexe here prevents the target from being # empty if there are no tests in the current directory. @@ -839,6 +832,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: echo "Finished testing $${tname} $(TEST_FLAGS)" >> $${log}; \ echo "============================" >> $${log}; \ echo "Finished testing $${tname} $(TEST_FLAGS)"; \ + cat $${log}; \ fi; \ echo "============================"; \ fi @@ -877,6 +871,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: echo "Finished testing $${tname} $(TEST_FLAGS)" >> $${log}; \ echo "============================" >> $${log}; \ echo "Finished testing $${tname} $(TEST_FLAGS)"; \ + cat $${log}; \ fi; \ echo "============================"; \ fi diff --git a/c++/test/Makefile.in b/c++/test/Makefile.in index 333023c..21ab43e 100644 --- a/c++/test/Makefile.in +++ b/c++/test/Makefile.in @@ -686,13 +686,6 @@ build-check-s: $(LIB) $(PROGS) $(TESTS) fi _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH) - @for d in dummy $(TEST_PROG_CHKEXE:.chkexe_=.log) \ - $(TEST_SCRIPT_CHKSH:.chksh_=.logsh); do \ - if test $$d != dummy && test $$d != .log && \ - test $$d != .logsh; then \ - cat `basename $$d`; \ - fi; \ - done # The dummy.chkexe here prevents the target from being # empty if there are no tests in the current directory. @@ -727,6 +720,7 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_: echo "Finished testing $${tname} $(TEST_FLAGS)" >> $${log}; \ echo "============================" >> $${log}; \ echo "Finished testing $${tname} $(TEST_FLAGS)"; \ + cat $${log}; \ fi; \ echo "============================"; \ fi @@ -765,6 +759,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_: echo "Finished testing $${tname} $(TEST_FLAGS)" >> $${log}; \ echo "============================" >> $${log}; \ echo "Finished testing $${tname} $(TEST_FLAGS)"; \ + cat $${log}; \ fi; \ echo "============================"; \ fi |