diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-08-30 23:42:39 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-08-30 23:42:39 (GMT) |
commit | 66af6dce17787f70e7bded57fdc63b1006ade754 (patch) | |
tree | eb9ecc21bd4c265448324f9e192efac02fd841d8 /tools/misc/Makefile.in | |
parent | 70ddbda208079d6597e453b510f9bfa9320cf0bf (diff) | |
download | hdf5-66af6dce17787f70e7bded57fdc63b1006ade754.zip hdf5-66af6dce17787f70e7bded57fdc63b1006ade754.tar.gz hdf5-66af6dce17787f70e7bded57fdc63b1006ade754.tar.bz2 |
[svn-r11319] Purpose:
Bug fixes
Description:
This checkin fixes an occasional error on kelgia on sol during distclean.
It also causes test scripts to depend properly on the programs they're
supposed to be testing.
Solution:
The kelgia bug was due to some files being cleaned by automake and manually.
Removed the manual cleaning in src/Makefile.am.
Test script dependencies now need to be specified manually, since the
makefile can't guess what they test from their name. Currently all test
scripts in a given directory have a single list of dependencies--this was
easy and seems to be sufficient.
These dependencies are listed in the SCRIPT_DEPEND variable in the Makefile.am.
Platforms tested:
heping, mir, modi4, sol
Misc. update:
Diffstat (limited to 'tools/misc/Makefile.in')
-rw-r--r-- | tools/misc/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/misc/Makefile.in b/tools/misc/Makefile.in index 2ffbd3a..66d49a5 100644 --- a/tools/misc/Makefile.in +++ b/tools/misc/Makefile.in @@ -340,6 +340,7 @@ INCLUDES = -I$(top_srcdir)/src TEST_PROG = h5repart_gentest TEST_SCRIPT = testh5repart.sh check_SCRIPTS = $(TEST_SCRIPT) +SCRIPT_DEPEND = h5repart$(EXEEXT) # Build pdb2hdf5 if LLNL's PDB is present (checked in configure) @BUILD_PDB2HDF_CONDITIONAL_TRUE@PDB2HDF = pdb2hdf5 @@ -828,7 +829,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummysh.chkexe_: tname=`basename $(@:.chkexe_=)`;\ log=`basename $(@:.chkexe_=.chklog)`; \ echo "============================"; \ - if $(top_srcdir)/bin/newer `basename $(@:.chkexe_=.chkexe)` $(@:.chkexe_=); then \ + if $(top_srcdir)/bin/newer `basename $(@:.chkexe_=.chkexe)` $(SCRIPT_DEPEND); then \ echo "No need to test $${tname} again."; \ else \ echo "============================" > $${log}; \ |