summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-06-02 23:40:47 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-06-02 23:40:47 (GMT)
commit10247df1bce417cebd4ef269c462dd56afc2628b (patch)
treef151c7c5cb6b274ea8ee6732f4a45f471aea52d9
parent769694294033cf2021b506cde1302af5fdb2ebff (diff)
downloadhdf5-10247df1bce417cebd4ef269c462dd56afc2628b.zip
hdf5-10247df1bce417cebd4ef269c462dd56afc2628b.tar.gz
hdf5-10247df1bce417cebd4ef269c462dd56afc2628b.tar.bz2
[svn-r10848] 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. Misc. update:
-rw-r--r--c++/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/c++/Makefile.in b/c++/Makefile.in
index e239431..2a3ba8f 100644
--- a/c++/Makefile.in
+++ b/c++/Makefile.in
@@ -662,7 +662,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 \