Skip to content

Commit

Permalink
final1
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisHeimbigner committed Dec 23, 2024
1 parent 5c08c04 commit 547a259
Show file tree
Hide file tree
Showing 69 changed files with 1,144 additions and 78 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main-cmake.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: NetCDF-C CMake CI - Windows

on: [ pull_request, workflow_dispatch]
on: [push, pull_request, workflow_dispatch]

env:
REMOTETESTDOWN: no
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

name: Run macOS-based netCDF Tests

on: [pull_request,workflow_dispatch]
on: [push,pull_request,workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

name: Run Ubuntu/Linux netCDF Tests

on: [pull_request,workflow_dispatch]
on: [push,pull_request,workflow_dispatch]

env:
REMOTETESTDOWN: no
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_win_cygwin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Run Cygwin-based tests

on: [pull_request,workflow_dispatch]
on: [push,pull_request,workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_win_mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
CPPFLAGS: "-D_BSD_SOURCE"
REMOTETESTDOWN: ${{ vars.REMOTETESTDOWN }}

on: [pull_request,workflow_dispatch]
on: [push,pull_request,workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
Expand Down
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cmake CMakeLists.txt COMPILE.cmake.txt config.h.cmake.in \
cmake_uninstall.cmake.in FixBundle.cmake.in nc-config.cmake.in \
RELEASE_NOTES.md CTestConfig.cmake.in CTestCustom.cmake.in \
libnetcdf.settings.in netCDFConfig.cmake.in CMakeInstallation.cmake \
test-driver-verbose test_common.in fuzz CITATION.cff v3.tgz
test-driver-verbose test_common.in fuzz CITATION.cff

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = netcdf.pc
Expand Down
14 changes: 11 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2362,9 +2362,6 @@ AM_CONDITIONAL([AX_ENABLE], [test xyes = xyes])
# Provide conditional to identify tests that must be run manually
AM_CONDITIONAL([AX_MANUAL], [test xno = xyes])

# Initialize v3_nczarr_test
cd v3_nczarr_test; rm -fr *; tar -xzf ../v3.tgz

AC_MSG_NOTICE([generating header files and makefiles])
AC_CONFIG_FILES(test_common.sh:test_common.in)
AC_CONFIG_FILES(s3cleanup.sh:s3cleanup.in, [chmod ugo+x s3cleanup.sh])
Expand Down Expand Up @@ -2439,4 +2436,15 @@ AC_CONFIG_FILES([Makefile
])
AC_OUTPUT()

# Initialize v3_nczarr_test
AC_MSG_CHECKING([@@@ Initializing v3_nczarr_test])
set -x
mkdir -p v3_nczarr_test
cd v3_nczarr_test
find . -maxdepth 0 -type f -not \( -name CMakeLists.txt -or -name '*.am' -or -name Makefile.in \) -delete
cp v3only/* .
cd ..
set +x
AC_MSG_RESULT([done])

cat libnetcdf.settings
2 changes: 1 addition & 1 deletion ncdap_test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ TESTS += tst_remote3.sh testurl.sh
# iridl.ldeo.columbia.edu
TESTS += tst_encode.sh
# test.opendap.org
TESTS += tst_hyrax.sh
#TESTS += tst_hyrax.sh # currently down
# Various
TESTS += tst_longremote3.sh
tst_longremote3.log: tst_remote3.log
Expand Down
8 changes: 4 additions & 4 deletions nczarr_test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ include $(top_srcdir)/lib_flags.am
AM_TESTS_ENVIRONMENT += export NCZARRFORMAT=2;
TESTS_ENVIRONMENT =
TEST_EXTENSIONS = .sh
SH_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver-verbose
sh_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver-verbose
LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver-verbose
TESTS_ENVIRONMENT += export SETX=1;
#SH_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver-verbose
#sh_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver-verbose
#LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver-verbose
#TESTS_ENVIRONMENT += export SETX=1;

AM_CFLAGS += -I${top_srcdir}
AM_CPPFLAGS += -I${top_srcdir}
Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_cachetest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

set -e

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_chunkcases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. ${srcdir}/test_nczarr.sh
. ${builddir}/test_nczarr.sh

set -e

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_corrupt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

set -e

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if test "x$srcdir" = x ; then srcdir=`pwd`; fi

set -e

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

s3isolate "testdir_external"
THISDIR=`pwd`
Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_fillonlyz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

# This shell script tests bug reported in github issue
# https://github.com/Unidata/netcdf-c/issues/1826
Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_filter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

set -e

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_filter_misc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

if test "x$TESTNCZARR" = x1; then
. ${srcdir}/test_nczarr.sh
. ${builddir}/test_nczarr.sh
fi

set -e
Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_filter_vlen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

if test "x$TESTNCZARR" = x1; then
. ${srcdir}/test_nczarr.sh
. ${builddir}/test_nczarr.sh
fi

set -e
Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_filterinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

if test "x$TESTNCZARR" = x1; then
. ${srcdir}/test_nczarr.sh
. ${builddir}/test_nczarr.sh
fi

set -e
Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_interop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

set -x
set -e
Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_it_chunks1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

set -e

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_jsonconvention.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

set -e

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_misc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

set -x
set -e
Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_mud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if test "x$srcdir" = x ; then srcdir=`pwd`; fi
set -e

if test "x$TESTNCZARR" = x1 ; then
. ${srcdir}/test_nczarr.sh
. ${builddir}/test_nczarr.sh
s3isolate "testdir_mud4"
else
isolate "testdir_mud4"
Expand Down
3 changes: 2 additions & 1 deletion nczarr_test/run_nan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

# Isolate both test and S3
s3isolate "testdir_nan"
THISDIR=`pwd`
cd $ISOPATH

set -x
set -e

# Location constants
Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_nccopy5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if test "x$srcdir" = x ; then srcdir=`pwd`; fi
set -e

if test "x$TESTNCZARR" = x1 ; then
. ${srcdir}/test_nczarr.sh
. ${builddir}/test_nczarr.sh
s3isolate "testdir_nccopy5"
else
isolate testdir_ncccopy5
Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_ncgen4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

# Isolate both test and S3
s3isolate "testdir_ncgen4"
Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_nczarr_fill.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

s3isolate "testdir_nczarr_fill"
THISDIR=`pwd`
Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_nczfilter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

# This shell script runs test_nczfilter.c

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_newformat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

set -e

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_notzarr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

set -e

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_nulls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

set -e

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_perf_chunks1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh
. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

s3isolate "testdir_perf_chunks1"
THISDIR=`pwd`
Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_purezarr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

set -e

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_quantize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

# Construct both ISOPATH and S3ISOPATH
s3isolate "testdir_quantize"
Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_scalar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

set -e

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_specific_filters.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if test "x$srcdir" = x ; then srcdir=`pwd`; fi
set -e

if test "x$TESTNCZARR" = x1 ; then
. ${srcdir}/test_nczarr.sh
. ${builddir}/test_nczarr.sh
s3isolate "testdir_specific_filters"
THISDIR=`pwd`
cd $ISOPATH
Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_strings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

# This shell script tests support for the NC_STRING type

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_unknown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ THISDIR=`pwd`
cd $ISOPATH

if test "x$TESTNCZARR" = x1 ; then
. ${srcdir}/test_nczarr.sh
. ${builddir}/test_nczarr.sh
s3isolate
fi

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_unlim_io.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. ${srcdir}/test_nczarr.sh
. ${builddir}/test_nczarr.sh

set -e

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_ut_map.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export SETX=1
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. ${srcdir}/test_nczarr.sh
. ${builddir}/test_nczarr.sh

set -e

Expand Down
2 changes: 1 addition & 1 deletion nczarr_test/run_ut_mapapi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

. "${srcdir}/test_nczarr.sh"
. "${builddir}/test_nczarr.sh"

#TR="-T10"

Expand Down
Loading

0 comments on commit 547a259

Please sign in to comment.