mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-27 08:49:16 +08:00
f1506d552e
* For URL paths, the new approach essentially centralizes all information in the URL into the "#mode=" fragment key and uses that value to determine the dispatcher for (most) URLs. * The new approach has the following steps: 1. canonicalize the path if it is a URL. 2. use the mode= fragment key to determine the dispatcher 3. if dispatcher still not determined, then use the mode flags argument to nc_open/nc_create to determine the dispatcher. 4. if the path points to something readable, attempt to read the magic number at the front, and use that to determine the dispatcher. this case may override all previous cases. * Misc changes. 1. Update documentation 2. Moved some unit tests from libdispatch to unit_test directory. 3. Fixed use of wrong #ifdef macro in test_filter_reg.c [I think this may fix an previously reported esupport query].
28 lines
876 B
Makefile
28 lines
876 B
Makefile
## This is a automake file, part of Unidata's netCDF package.
|
|
# Copyright 2019, see the COPYRIGHT file for more information.
|
|
|
|
# This file builds and runs the unit tests. These tests are not run in
|
|
# the CMake build, because we would then have to extern these internal
|
|
# functions, to allow Windows to work. Since we have not extern'd
|
|
# these functions, they will only be run under the autotools build.
|
|
|
|
# Ed Hartnett 8/9/19
|
|
|
|
# Put together AM_CPPFLAGS and AM_LDFLAGS.
|
|
include $(top_srcdir)/lib_flags.am
|
|
|
|
# Find and link to the netcdf-c library.
|
|
LDADD = ${top_builddir}/liblib/libnetcdf.la
|
|
|
|
if USE_NETCDF4
|
|
NC4_TESTS = tst_nc4internal
|
|
endif # USE_NETCDF4
|
|
|
|
check_PROGRAMS = tst_nclist test_ncuri test_pathcvt $(NC4_TESTS)
|
|
TESTS = tst_nclist test_ncuri test_pathcvt $(NC4_TESTS)
|
|
|
|
EXTRA_DIST = CMakeLists.txt
|
|
|
|
# If valgrind is present, add valgrind targets.
|
|
@VALGRIND_CHECK_RULES@
|