mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-24 16:04:40 +08:00
valg2
This commit is contained in:
parent
5dd237246f
commit
8ee9453043
2
.github/workflows/run_tests_ubuntu.yml
vendored
2
.github/workflows/run_tests_ubuntu.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user