summaryrefslogtreecommitdiffstats
path: root/hl/c++
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-06-02 23:42:48 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-06-02 23:42:48 (GMT)
commita2217d58c847974b722729d3f3e016d597c70f0c (patch)
tree50796e622f7a7fbd66facda24bed5d550613f0a4 /hl/c++
parent10247df1bce417cebd4ef269c462dd56afc2628b (diff)
downloadhdf5-a2217d58c847974b722729d3f3e016d597c70f0c.zip
hdf5-a2217d58c847974b722729d3f3e016d597c70f0c.tar.gz
hdf5-a2217d58c847974b722729d3f3e016d597c70f0c.tar.bz2
[svn-r10849] Purpose:
bug fix Description: check-s and check-p were set as pre-requistics of test. They would get executed in parallel if parallel make is used. This could cause problems since serial tests are used to be executed before parallel tests. It is not known if it is always okay to run serial and parallel tests in simultantously. Solution: Change check-s and check-p as actions of the target test so that they get executed sequnentially. Platforms tested: heping PP.
Diffstat (limited to 'hl/c++')
-rw-r--r--hl/c++/Makefile.in4
-rw-r--r--hl/c++/src/Makefile.in4
-rw-r--r--hl/c++/test/Makefile.in4
3 files changed, 9 insertions, 3 deletions
diff --git a/hl/c++/Makefile.in b/hl/c++/Makefile.in
index 86da551..9386f45 100644
--- a/hl/c++/Makefile.in
+++ b/hl/c++/Makefile.in
@@ -639,7 +639,9 @@ install-doc uninstall-doc:
# TEST_PROG_PARA, or TEST_SCRIPT will actually be executed.
check-TESTS: test
-test _test: check-s check-p
+test _test:
+ $(MAKE) check-s
+ $(MAKE) check-p
check-s: $(LIB) $(PROGS) $(TESTS)
@if test -n "$(TEST_PROG)$(TEST_SCRIPT)"; then \
diff --git a/hl/c++/src/Makefile.in b/hl/c++/src/Makefile.in
index 46aa511..84fd373 100644
--- a/hl/c++/src/Makefile.in
+++ b/hl/c++/src/Makefile.in
@@ -661,7 +661,9 @@ install-doc uninstall-doc:
# TEST_PROG_PARA, or TEST_SCRIPT will actually be executed.
check-TESTS: test
-test _test: check-s check-p
+test _test:
+ $(MAKE) check-s
+ $(MAKE) check-p
check-s: $(LIB) $(PROGS) $(TESTS)
@if test -n "$(TEST_PROG)$(TEST_SCRIPT)"; then \
diff --git a/hl/c++/test/Makefile.in b/hl/c++/test/Makefile.in
index 5901200..958858e 100644
--- a/hl/c++/test/Makefile.in
+++ b/hl/c++/test/Makefile.in
@@ -610,7 +610,9 @@ install-doc uninstall-doc:
# TEST_PROG_PARA, or TEST_SCRIPT will actually be executed.
check-TESTS: test
-test _test: check-s check-p
+test _test:
+ $(MAKE) check-s
+ $(MAKE) check-p
check-s: $(LIB) $(PROGS) $(TESTS)
@if test -n "$(TEST_PROG)$(TEST_SCRIPT)"; then \