mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
Some coding style changes.
This commit is contained in:
parent
c3c3c1e142
commit
1d1e96f1dd
2
MANIFEST
2
MANIFEST
@ -1135,6 +1135,7 @@
|
||||
./test/testmeta.c
|
||||
./test/testswmr.sh.in
|
||||
./test/testvdsswmr.sh.in
|
||||
./test/testvds_env.sh.in
|
||||
./test/tfile.c
|
||||
./test/tgenprop.c
|
||||
./test/th5o.c
|
||||
@ -1174,6 +1175,7 @@
|
||||
./test/use_disable_mdc_flushes.c
|
||||
./test/use.h
|
||||
./test/vds.c
|
||||
./test/vds_env.c
|
||||
./test/vds_swmr.h
|
||||
./test/vds_swmr_gen.c
|
||||
./test/vds_swmr_reader.c
|
||||
|
@ -28,7 +28,7 @@ AM_CPPFLAGS+=-I$(top_srcdir)/src -I$(top_builddir)/src
|
||||
# testlinks_env.sh: links_env
|
||||
# testexternal_env.sh: external_env
|
||||
# testflushrefresh.sh: flushrefresh
|
||||
# testvds_env.sh: vds_env
|
||||
# testvds_env.sh: vds_env
|
||||
# testswmr.sh: swmr*
|
||||
# testvdsswmr.sh: vds_swmr*
|
||||
# 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 \
|
||||
enc_dec_plist_cross_platform getname vfd ntypes dangle dtransform \
|
||||
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.
|
||||
# error_test and err_compat are built at the same time as the other tests, but executed by testerror.sh.
|
||||
|
@ -12,9 +12,6 @@
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
/*
|
||||
* Programmer: Robb Matzke <matzke@llnl.gov>
|
||||
* Tuesday, March 3, 1998
|
||||
*
|
||||
* Purpose: Tests datasets stored in external raw files.
|
||||
*/
|
||||
#include "external_common.h"
|
||||
|
@ -25,9 +25,9 @@ nerrors=0
|
||||
|
||||
# test for external file with HDF5_EXTFILE_PREFIX
|
||||
echo "Testing external file with HDF5_EXTFILE_PREFIX"
|
||||
TEST_NAME=external_env # The test name
|
||||
TEST_BIN=`pwd`/$TEST_NAME # The path of the test binary
|
||||
ENVCMD="env HDF5_EXTFILE_PREFIX=\${ORIGIN}" # The environment variable & value
|
||||
TEST_NAME=external_env # The test name
|
||||
TEST_BIN=`pwd`/$TEST_NAME # The path of the test binary
|
||||
ENVCMD="env HDF5_EXTFILE_PREFIX=\${ORIGIN}" # The environment variable & value
|
||||
#
|
||||
# Run the test
|
||||
# echo "$ENVCMD $RUNSERIAL $TEST_BIN"
|
||||
|
@ -25,10 +25,10 @@ nerrors=0
|
||||
|
||||
# test for VDS with HDF5_VDS_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_BIN=`pwd`/$TEST_NAME # The path of the test binary
|
||||
ENVCMD="env HDF5_VDS_PREFIX=\${ORIGIN}/tmp" # Set the environment variable & value
|
||||
UNENVCMD="unset HDF5_VDS_PREFIX" # Unset the environment variable & value
|
||||
TEST_NAME=vds_env # The test name
|
||||
TEST_BIN=`pwd`/$TEST_NAME # The path of the test binary
|
||||
ENVCMD="env HDF5_VDS_PREFIX=\${ORIGIN}/tmp" # Set the environment variable & value
|
||||
UNENVCMD="unset HDF5_VDS_PREFIX" # Unset the environment variable & value
|
||||
#
|
||||
# Run the test
|
||||
# echo "$ENVCMD $RUNSERIAL $TEST_BIN"
|
||||
|
@ -309,7 +309,7 @@ main(void)
|
||||
if((my_fapl = H5Pcopy(fapl)) < 0) TEST_ERROR
|
||||
|
||||
/* 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++) {
|
||||
char msg[80]; /* Message for file version bounds */
|
||||
char *low_string; /* The low bound string */
|
||||
|
Loading…
Reference in New Issue
Block a user