forked from Unidata/netcdf-c
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
562e6bf
commit 84e14be
Showing
3 changed files
with
36 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, | ||
# 2015, 2016, 2017, 2018 | ||
# University Corporation for Atmospheric Research/Unidata. | ||
|
||
# See netcdf-c/COPYRIGHT file for more info. | ||
## This file is used to customize CTest. | ||
## See: | ||
## | ||
## http://public.kitware.com/Wiki/CTest:Using_CTEST_and_CDASH_without_CMAKE | ||
## | ||
## for more information. | ||
|
||
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "500") | ||
|
||
IF(ENABLE_S3_TESTING) | ||
# Before and after all tests are run, we need to try to cleanup the junk left in the Unidata S3 bucket. | ||
# Assume run in top-level CMAKE_BINARY_DIR | ||
set(CTEST_CUSTOM_PRE_TEST "${CMAKE_BINARY_DIR}/nczarr_test/run_s3_cleanup.sh ${CMAKE_BINARY_DIR} ${S3TESTSUBTREE}") | ||
set(CTEST_CUSTOM_POST_TEST "${CMAKE_BINARY_DIR}/nczarr_test/run_s3_cleanup.sh ${CMAKE_BINARY_DIR} ${S3TESTSUBTREE}") | ||
ENDIF() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,9 @@ | ||
#!/bin/sh | ||
|
||
if test "x$srcdir" = x ; then srcdir=`pwd`; fi | ||
. ../test_common.sh | ||
|
||
. "$srcdir/test_nczarr.sh" | ||
|
||
set -e | ||
|
||
echo "" | ||
echo "*** Remove /netcdf-c from S3 repository" | ||
|
||
fileargs netcdf-c | ||
|
||
if test "x$FEATURE_S3TESTS" = xyes ; then | ||
${execdir}/s3util -u "${NCZARR_S3_TEST_URL}" -k "/netcdf-c" clear | ||
fi | ||
set -x | ||
TESTDIR="$1" | ||
S3TESTSUBTREE="$2" | ||
|
||
echo ">>> *** Remove /${TESTSUBTREE} from S3 repository" | ||
echo ${TESTDIR}/nczarr_test/s3util -u "https://s3.us-east-1.amazonaws.com/unidata-zarr-test-data" -k "/${S3TESTSUBTREE}" clear | ||
exit 0 |