summaryrefslogtreecommitdiffstats
path: root/fortran
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 /fortran
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 'fortran')
-rw-r--r--fortran/Makefile.in4
-rw-r--r--fortran/examples/Makefile.in4
-rw-r--r--fortran/src/Makefile.in4
-rw-r--r--fortran/test/Makefile.in4
-rw-r--r--fortran/testpar/Makefile.in4
5 files changed, 15 insertions, 5 deletions
diff --git a/fortran/Makefile.in b/fortran/Makefile.in
index 9dffcd1..63ec756 100644
--- a/fortran/Makefile.in
+++ b/fortran/Makefile.in
@@ -671,7 +671,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/fortran/examples/Makefile.in b/fortran/examples/Makefile.in
index 75d3b27..4488132 100644
--- a/fortran/examples/Makefile.in
+++ b/fortran/examples/Makefile.in
@@ -571,7 +571,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/fortran/src/Makefile.in b/fortran/src/Makefile.in
index 8d532bd..a953330 100644
--- a/fortran/src/Makefile.in
+++ b/fortran/src/Makefile.in
@@ -850,7 +850,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/fortran/test/Makefile.in b/fortran/test/Makefile.in
index 893e2e3..738b36d 100644
--- a/fortran/test/Makefile.in
+++ b/fortran/test/Makefile.in
@@ -835,7 +835,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/fortran/testpar/Makefile.in b/fortran/testpar/Makefile.in
index 570cb26..b465cf1 100644
--- a/fortran/testpar/Makefile.in
+++ b/fortran/testpar/Makefile.in
@@ -601,7 +601,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 \