summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/testflushrefresh.sh.in14
-rwxr-xr-xtest/testswmr.sh.in2
2 files changed, 15 insertions, 1 deletions
diff --git a/test/testflushrefresh.sh.in b/test/testflushrefresh.sh.in
index 732f32b..99ed025 100755
--- a/test/testflushrefresh.sh.in
+++ b/test/testflushrefresh.sh.in
@@ -63,6 +63,20 @@ if test -z "$srcdir"; then
srcdir=.
fi
+# Check to see if the VFD specified by the HDF5_DRIVER environment variable
+# supports SWMR.
+./swmr_check_compat_vfd
+rc=$?
+if [[ $rc != 0 ]] ; then
+ echo
+ echo "The VFD specified by the HDF5_DRIVER environment variable"
+ echo "does not support SWMR."
+ echo
+ echo "flush/refresh tests skipped"
+ echo
+ exit 0
+fi
+
# ========================
# Launch the Test Program.
# ========================
diff --git a/test/testswmr.sh.in b/test/testswmr.sh.in
index e6d0ff6..17bf081 100755
--- a/test/testswmr.sh.in
+++ b/test/testswmr.sh.in
@@ -106,7 +106,7 @@ rc=$?
if [[ $rc != 0 ]] ; then
echo
echo "The VFD specified by the HDF5_DRIVER environment variable"
- echo "does not support SWMR"
+ echo "does not support SWMR."
echo
echo "SWMR acceptance tests skipped"
echo