mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
e7d5f24078
The primary change is to support the use of a zip file as a storage format. Simultaneously the .nz4 support is made obsolete Use of zip requires the libzip support library, so a number of changes to the build files (Makefile.am, CMakeLists.txt) are necessary to locate and incorporate libzip. The nczarr_tests tests are also changed to add zip testing. Other changes: * Make sure distcheck leaves no files around. * Add some functions to netcdf_aux to export some functions of libnetcdf. * Add a new error NC_EFOUND as the complement of NC_EEMPTY. * Add tracing support to nclog and use it in libnczarr. * Modify the zmap interface to support the writeonce semantics of zip. * Create a new s3util.c to support a variety of S3 auxilliary functions. * EXTERNL'ize a number of functions so they can be used in s3util. * Add support for the S3 ListObjects CommonPrefixes mechanism to improve search. * Add experimental support for running nczarr X s3 tests against the actual Amazon S3 cloud.
29 lines
483 B
Bash
Executable File
29 lines
483 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Run (tst_chunks,tst_chunks2) X (file,zip,s3)
|
|
|
|
|
|
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
|
|
. ../test_common.sh
|
|
|
|
. "$srcdir/test_nczarr.sh"
|
|
|
|
set -e
|
|
|
|
# Functions
|
|
|
|
ittest() {
|
|
extfor $1
|
|
if test "x$2" != x ; then CLOUD="-c $2"; fi
|
|
${execdir}/tst_chunks -e $1 $CLOUD
|
|
${execdir}/tst_chunks2 -e $1 $CLOUD
|
|
}
|
|
|
|
ittest file
|
|
if test "x$FEATURE_NCZARR_ZIP" = xyes ; then ittest zip; fi
|
|
if test "x$FEATURE_S3TESTS" = xyes ; then ittest s3 "${NCZARR_S3_TEST_URL}/netcdf-c'; fi
|
|
}
|
|
|
|
|
|
|