diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-03-23 03:12:43 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-03-23 03:12:43 (GMT) |
commit | f21b268812b10e11ee98be17dd121e6a43525aef (patch) | |
tree | 4cf800c09b03436b3de4dce2051256a1a1d7552f /test/testswmr.sh.in | |
parent | 3f1029a352800ee8ff7787c59ba161f97b293e13 (diff) | |
parent | dfc0b2f4f68e8fb47d2526262d6e51523537369e (diff) | |
download | hdf5-f21b268812b10e11ee98be17dd121e6a43525aef.zip hdf5-f21b268812b10e11ee98be17dd121e6a43525aef.tar.gz hdf5-f21b268812b10e11ee98be17dd121e6a43525aef.tar.bz2 |
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp3 into develop
Diffstat (limited to 'test/testswmr.sh.in')
-rw-r--r-- | test/testswmr.sh.in | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/test/testswmr.sh.in b/test/testswmr.sh.in index 85e169a..f70d083 100644 --- a/test/testswmr.sh.in +++ b/test/testswmr.sh.in @@ -128,7 +128,13 @@ done # different, occasionally the wrong file is deleted, interrupting the flow of # the test. Running each of these tests in its own directory should eliminate # the problem. -mkdir -p swmr_test/.libs +mkdir swmr_test +for FILE in swmr*; do + case "$FILE" in + *.o) continue ;; ## don't copy the .o files + esac + cp $FILE swmr_test +done cp swmr* swmr_test # With the --disable-shared option, swmr program files are built in the test @@ -136,7 +142,13 @@ cp swmr* swmr_test # script in the test directory. The programs or wrapper scripts in test should # always be copied, swmr files in .libs should be copied only if they exists. if [ -f .libs/swmr ]; then - cp .libs/swmr* swmr_test/.libs + mkdir swmr_test/.libs + for FILE in .libs/swmr*; do + case "$FILE" in + *.o) continue ;; ## don't copy the .o files + esac + cp $FILE swmr_test/.libs + done fi cd swmr_test @@ -536,7 +548,7 @@ done ############################################################################### ## Report and exit ############################################################################### - +cd .. $DPRINT nerrors=$nerrors if test $nerrors -eq 0 ; then echo "SWMR tests passed." |