diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-06-30 23:35:32 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-06-30 23:35:32 (GMT) |
commit | 43f091f462202a84a863f000582e75fd6c04e6f4 (patch) | |
tree | 00bd95eeb9f866516324e4481a78174e6628d651 /Makefile.in | |
parent | afcd1ddb398e04006da8b11a95a60cec61da7349 (diff) | |
download | hdf5-43f091f462202a84a863f000582e75fd6c04e6f4.zip hdf5-43f091f462202a84a863f000582e75fd6c04e6f4.tar.gz hdf5-43f091f462202a84a863f000582e75fd6c04e6f4.tar.bz2 |
[svn-r11008] Purpose:
Feature: tests now use parallel make and only run once
Description:
When make is invoked in parallel (using the -j option), several tests will
now be run simultaneously. This should speed up testing on a number of
systems.
When a test passes, it creates a foo.chkexe or foo.chksh file, which prevents
the test from running again unless the test or library changes.
Solution:
Most of the changes live in config/conclude.am. Added *.chkexe and *.chksh
files to the list of files to be cleaned at "make mostlyclean" time.
Parallel tests still run one at a time, but use the same make instructions
as serial tests.
Platforms tested:
mir, eirene, sleipnir, pommier, copper, modi4 (some errors occurred, probably
due to the test being run before updating hdf5. Will re-run tests after
checkin.)
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index c3e8463..ae2897f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -309,6 +309,9 @@ H5CC = $(bindir)/h5cc H5CC_PP = $(bindir)/h5pcc H5FC = $(bindir)/h5fc H5FC_PP = $(bindir)/h5pfc + +# .chkexe and .chksh files are used to mark tests that have run successfully. +MOSTLYCLEANFILES = *.chkexe *.chksh @BUILD_PARALLEL_CONDITIONAL_FALSE@TESTPARALLEL_DIR = # Define subdirectories to build. @@ -675,6 +678,7 @@ install-strip: `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: + -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) clean-generic: |