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:
Dennis Heimbigner 2020-06-29 09:14:47 -06:00
parent 9e1ff1555e
commit d21c0170d7
3 changed files with 12 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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