This commit is contained in:
Dennis Heimbigner 2023-04-26 13:20:54 -06:00
parent 5dd237246f
commit 8ee9453043
2 changed files with 6 additions and 5 deletions

View File

@ -131,7 +131,7 @@ jobs:
- name: Install System dependencies
shell: bash -l {0}
run: sudo apt update && sudo apt install -y libaec-dev zlib1g-dev automake autoconf libcurl4-openssl-dev libjpeg-dev wget curl bzip2 m4 flex bison cmake libzip-dev doxygen
run: sudo apt update && sudo apt install -y libaec-dev zlib1g-dev automake autoconf libcurl4-openssl-dev libjpeg-dev wget curl bzip2 m4 flex bison cmake libzip-dev doxygen valgrind
###
# Set Environmental Variables

View File

@ -6,6 +6,8 @@ if test "x$srcdir" = x ; then srcdir=`pwd`; fi
set -e
set -x
CMD="valgrind --leak-check=full"
URL="https://s3.us-east-1.amazonaws.com/unidata-zarr-test-data"
isolate "testdir_uts3sdk"
@ -16,10 +18,7 @@ S3ISOPATH="/netcdf-c"
S3ISOPATH="${S3ISOPATH}/$S3ISODIR"
test_cleanup() {
echo ">>>> Cleanup"
if test -e ${execdir}/../nczarr_test/s3util ; then
${execdir}/../nczarr_test/s3util -u "${URL}" -k "${S3ISOPATH}" clear
fi
${execdir}/../nczarr_test/s3util -u "${URL}" -k "${S3ISOPATH}" clear
}
trap test_cleanup EXIT
@ -36,3 +35,5 @@ ${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
# Cleanup on exit
${execdir}/../nczarr_test/s3util -u "${URL}" -k "${S3ISOPATH}" clear