mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Semi-disable S3 tests.
They rely on access to the unidata S3 bucket on stratus, so only Unidata NetCDF personnel can execute them, To enable them, one needs to do this at command level: export NETCDF_S3_TESTS=1
This commit is contained in:
parent
9e1ff1555e
commit
d21c0170d7
@ -87,6 +87,8 @@ rm -rf ${RESULTSDIR}
|
||||
#main nz4
|
||||
#main nzf
|
||||
|
||||
if test "x$HAVENCZARR" = x1 -a "x$HAVES3" = x1 ; then
|
||||
main s3 'https://stratus.ucar.edu/unidata-netcdf-zarr-testing'
|
||||
if test "x$NETCDF_S3_TESTS" != x ; then
|
||||
if test "x$HAVENCZARR" = x1 -a "x$HAVES3" = x1 ; then
|
||||
main s3 'https://stratus.ucar.edu/unidata-netcdf-zarr-testing'
|
||||
fi
|
||||
fi
|
||||
|
@ -60,6 +60,8 @@ if test "x$HAVE_SETTING" = x1 ; then HAVES3=1; fi
|
||||
main nz4
|
||||
main nzf
|
||||
|
||||
if test "x$HAVENCZARR" = x1 -a "x$HAVES3" = x1 ; then
|
||||
main s3 'https://stratus.ucar.edu/unidata-netcdf-zarr-testing'
|
||||
if test "x$NETCDF_S3_TESTS" != x ; then
|
||||
if test "x$HAVENCZARR" = x1 -a "x$HAVES3" = x1 ; then
|
||||
main s3 'https://stratus.ucar.edu/unidata-netcdf-zarr-testing'
|
||||
fi
|
||||
fi
|
||||
|
@ -87,8 +87,12 @@ echo ""; echo "*** Test zmap_nz4"
|
||||
testmapcreate nz4; testmapmeta nz4; testmapdata nz4; testmapsearch nz4
|
||||
echo ""; echo "*** Test zmap_nzf"
|
||||
testmapcreate nzf; testmapmeta nzf; testmapdata nzf; testmapsearch nzf
|
||||
|
||||
if test "x$NETCDF_S3_TESTS" != x ; then
|
||||
if test "x$HAVENCZARR" = x1 -a "x$HAVES3" = x1 ; then
|
||||
echo ""; echo "*** Test zmap_s3sdk"
|
||||
testmapcreate s3; testmapmeta s3; testmapdata s3; testmapsearch s3
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user