Some coding style changes.

This commit is contained in:
Songyu Lu 2019-04-11 15:51:21 -05:00
parent c3c3c1e142
commit 1d1e96f1dd
6 changed files with 12 additions and 13 deletions

View File

@ -1135,6 +1135,7 @@
./test/testmeta.c ./test/testmeta.c
./test/testswmr.sh.in ./test/testswmr.sh.in
./test/testvdsswmr.sh.in ./test/testvdsswmr.sh.in
./test/testvds_env.sh.in
./test/tfile.c ./test/tfile.c
./test/tgenprop.c ./test/tgenprop.c
./test/th5o.c ./test/th5o.c
@ -1174,6 +1175,7 @@
./test/use_disable_mdc_flushes.c ./test/use_disable_mdc_flushes.c
./test/use.h ./test/use.h
./test/vds.c ./test/vds.c
./test/vds_env.c
./test/vds_swmr.h ./test/vds_swmr.h
./test/vds_swmr_gen.c ./test/vds_swmr_gen.c
./test/vds_swmr_reader.c ./test/vds_swmr_reader.c

View File

@ -28,7 +28,7 @@ AM_CPPFLAGS+=-I$(top_srcdir)/src -I$(top_builddir)/src
# testlinks_env.sh: links_env # testlinks_env.sh: links_env
# testexternal_env.sh: external_env # testexternal_env.sh: external_env
# testflushrefresh.sh: flushrefresh # testflushrefresh.sh: flushrefresh
# testvds_env.sh: vds_env # testvds_env.sh: vds_env
# testswmr.sh: swmr* # testswmr.sh: swmr*
# testvdsswmr.sh: vds_swmr* # testvdsswmr.sh: vds_swmr*
# testabort_fail.sh: filenotclosed.c and del_many_dense_attrs.c # testabort_fail.sh: filenotclosed.c and del_many_dense_attrs.c
@ -63,7 +63,7 @@ TEST_PROG= testhdf5 \
flush1 flush2 app_ref enum set_extent ttsafe enc_dec_plist \ flush1 flush2 app_ref enum set_extent ttsafe enc_dec_plist \
enc_dec_plist_cross_platform getname vfd ntypes dangle dtransform \ enc_dec_plist_cross_platform getname vfd ntypes dangle dtransform \
reserved cross_read freespace mf vds file_image unregister \ reserved cross_read freespace mf vds file_image unregister \
cache_logging cork swmr vol_tst cache_logging cork swmr vol
# List programs to be built when testing here. # List programs to be built when testing here.
# error_test and err_compat are built at the same time as the other tests, but executed by testerror.sh. # error_test and err_compat are built at the same time as the other tests, but executed by testerror.sh.

View File

@ -12,9 +12,6 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* /*
* Programmer: Robb Matzke <matzke@llnl.gov>
* Tuesday, March 3, 1998
*
* Purpose: Tests datasets stored in external raw files. * Purpose: Tests datasets stored in external raw files.
*/ */
#include "external_common.h" #include "external_common.h"

View File

@ -25,9 +25,9 @@ nerrors=0
# test for external file with HDF5_EXTFILE_PREFIX # test for external file with HDF5_EXTFILE_PREFIX
echo "Testing external file with HDF5_EXTFILE_PREFIX" echo "Testing external file with HDF5_EXTFILE_PREFIX"
TEST_NAME=external_env # The test name TEST_NAME=external_env # The test name
TEST_BIN=`pwd`/$TEST_NAME # The path of the test binary TEST_BIN=`pwd`/$TEST_NAME # The path of the test binary
ENVCMD="env HDF5_EXTFILE_PREFIX=\${ORIGIN}" # The environment variable & value ENVCMD="env HDF5_EXTFILE_PREFIX=\${ORIGIN}" # The environment variable & value
# #
# Run the test # Run the test
# echo "$ENVCMD $RUNSERIAL $TEST_BIN" # echo "$ENVCMD $RUNSERIAL $TEST_BIN"

View File

@ -25,10 +25,10 @@ nerrors=0
# test for VDS with HDF5_VDS_PREFIX # test for VDS with HDF5_VDS_PREFIX
echo "Testing basic virtual dataset I/O via H5Pset_vds_prefix(): all selection with ENV prefix" echo "Testing basic virtual dataset I/O via H5Pset_vds_prefix(): all selection with ENV prefix"
TEST_NAME=vds_env # The test name TEST_NAME=vds_env # The test name
TEST_BIN=`pwd`/$TEST_NAME # The path of the test binary TEST_BIN=`pwd`/$TEST_NAME # The path of the test binary
ENVCMD="env HDF5_VDS_PREFIX=\${ORIGIN}/tmp" # Set the environment variable & value ENVCMD="env HDF5_VDS_PREFIX=\${ORIGIN}/tmp" # Set the environment variable & value
UNENVCMD="unset HDF5_VDS_PREFIX" # Unset the environment variable & value UNENVCMD="unset HDF5_VDS_PREFIX" # Unset the environment variable & value
# #
# Run the test # Run the test
# echo "$ENVCMD $RUNSERIAL $TEST_BIN" # echo "$ENVCMD $RUNSERIAL $TEST_BIN"

View File

@ -309,7 +309,7 @@ main(void)
if((my_fapl = H5Pcopy(fapl)) < 0) TEST_ERROR if((my_fapl = H5Pcopy(fapl)) < 0) TEST_ERROR
/* Loop through all the combinations of low/high version bounds */ /* Loop through all the combinations of low/high version bounds */
for(low = H5F_LIBVER_EARLIEST; low < H5F_LIBVER_NBOUNDS; low++) { for(low = H5F_LIBVER_EARLIEST; low < H5F_LIBVER_NBOUNDS; H5_INC_ENUM(H5F_libver_t, low)) {
for(high = H5F_LIBVER_EARLIEST; high < H5F_LIBVER_NBOUNDS; high++) { for(high = H5F_LIBVER_EARLIEST; high < H5F_LIBVER_NBOUNDS; high++) {
char msg[80]; /* Message for file version bounds */ char msg[80]; /* Message for file version bounds */
char *low_string; /* The low bound string */ char *low_string; /* The low bound string */