summaryrefslogtreecommitdiffstats
path: root/test/testswmr.sh.in
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-09-18 17:27:15 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-09-18 17:27:15 (GMT)
commitefaf7dea67a8c861123952c37e5cf6ac210116e9 (patch)
treef7b4d8d7131efb3354884cbb691561857ffe0941 /test/testswmr.sh.in
parent2a6053435c5eacb68aec6c5b8f03d62f4d789e43 (diff)
downloadhdf5-efaf7dea67a8c861123952c37e5cf6ac210116e9.zip
hdf5-efaf7dea67a8c861123952c37e5cf6ac210116e9.tar.gz
hdf5-efaf7dea67a8c861123952c37e5cf6ac210116e9.tar.bz2
HDFFV-10903 merge dev changes to 1.10
Diffstat (limited to 'test/testswmr.sh.in')
-rw-r--r--test/testswmr.sh.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/testswmr.sh.in b/test/testswmr.sh.in
index f81a7d7..a41947e 100644
--- a/test/testswmr.sh.in
+++ b/test/testswmr.sh.in
@@ -131,9 +131,10 @@ for FILE in swmr*; do
case "$FILE" in
*.o) continue ;; ## don't copy the .o files
esac
- cp $FILE swmr_test
+ if test -f "$FILE" ; then
+ cp $FILE swmr_test
+ fi
done
-cp swmr* swmr_test
# With the --disable-shared option, swmr program files are built in the test
# directory, otherwise they are in test/.libs with a corresponding wrapper
@@ -145,7 +146,9 @@ if [ -f .libs/swmr ]; then
case "$FILE" in
*.o) continue ;; ## don't copy the .o files
esac
- cp $FILE swmr_test/.libs
+ if test -f "$FILE" ; then
+ cp $FILE swmr_test/.libs
+ fi
done
fi
@@ -153,7 +156,7 @@ cd swmr_test
# Loop over index types
-for index_type in "-i ea" "-i b2"
+for index_type in "-i ea" "-i b2"
do
# Try with and without compression
for compress in "" "-c 5"