From d442fe2d9815a83f5010cca9a878974e286c27f9 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Wed, 28 Nov 2018 19:07:30 -0600 Subject: Add support for "make check-vol", along with a few minor cleanups, etc. --- Makefile.am | 9 +++++++++ bin/makehelp | 1 + bin/snapshot | 6 ++++++ c++/test/tlinks.cpp | 5 ----- config/commence.am | 3 ++- config/conclude.am | 12 ++++++++++++ src/H5VLpassthru.c | 2 +- test/Makefile.am | 3 +++ test/freespace.c | 6 ------ test/h5test.c | 13 +++++++++++-- test/links_env.c | 5 ----- 11 files changed, 45 insertions(+), 20 deletions(-) diff --git a/Makefile.am b/Makefile.am index e3e5e3d..d58b1b4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -186,6 +186,15 @@ check-vfd: fi; \ done +# Run tests with different Virtual Object Layer Connectors. +# Currently, only invoke check-vol in the test directory. +check-vol: + for d in src test; do \ + if test $$d != .; then \ + (cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \ + fi; \ + done + # Automake wants to make config.status depend on configure. This # makes sense, but config.status can't always be regenerated # properly, which can cause builds to fail. diff --git a/bin/makehelp b/bin/makehelp index d6fbda2..4707397 100755 --- a/bin/makehelp +++ b/bin/makehelp @@ -40,6 +40,7 @@ make distclean: remove all files generated by make, make check, or make check-p: Only run parallel tests make check-s: Only run serial tests make check-vfd: Run tests with each virtual file driver +make check-vol: Run tests with each virtual object layer connector HDF5 uses Automake, so any standard Automake targets not listed here should also work. diff --git a/bin/snapshot b/bin/snapshot index 5c78fc8..5900728 100755 --- a/bin/snapshot +++ b/bin/snapshot @@ -132,6 +132,7 @@ DISPLAYUSAGE() Usage: $PROGNAME [all] [checkout] [ftp [diff] [test] [srcdir] [release] [help] [clean] [distclean] [echo] [deploy ] [deploydir ] [zlib ] [releasedir ] [srcdirname ] [check-vfd] + [check-vol] [exec ] [module-load ] [op-configure