mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-24 16:04:40 +08:00
ga1
This commit is contained in:
parent
61f42a4404
commit
f584296472
@ -6,8 +6,6 @@ if test "x$srcdir" = x ; then srcdir=`pwd`; fi
|
||||
set -e
|
||||
set -x
|
||||
|
||||
VG="valgrind --leak-check=full"
|
||||
|
||||
URL="https://s3.us-east-1.amazonaws.com/unidata-zarr-test-data"
|
||||
|
||||
isolate "testdir_uts3sdk"
|
||||
@ -18,10 +16,11 @@ S3ISOPATH="/netcdf-c"
|
||||
S3ISOPATH="${S3ISOPATH}/$S3ISODIR"
|
||||
|
||||
test_cleanup() {
|
||||
echo ">>> error exit"
|
||||
$VG ${execdir}/../nczarr_test/s3util -u "${URL}" -k "${S3ISOPATH}" clear
|
||||
${execdir}/../nczarr_test/s3util -u "${URL}" -k "${S3ISOPATH}" clear
|
||||
}
|
||||
if ! test "x$GITHUB_ACTIONS" ; then
|
||||
trap test_cleanup EXIT
|
||||
fi
|
||||
|
||||
THISDIR=`pwd`
|
||||
cd $ISOPATH
|
||||
@ -36,6 +35,9 @@ ${CMD} ${execdir}/test_s3sdk -u "${URL}" -k "${S3ISOPATH}/test_s3sdk.txt" delete
|
||||
if test "x$FEATURE_LARGE_TESTS" = xyes ; then
|
||||
${CMD} ${execdir}/test_s3sdk -u "${URL}" -k "${S3ISOPATH}" longlist
|
||||
fi
|
||||
|
||||
if test "x$GITHUB_ACTIONS" ; then
|
||||
# Cleanup on exit
|
||||
echo ">>> clean exit"
|
||||
$VG ${execdir}/../nczarr_test/s3util -u "${URL}" -k "${S3ISOPATH}" clear
|
||||
${execdir}/../nczarr_test/s3util -u "${URL}" -k "${S3ISOPATH}" clear
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user