Add test for character fillvalue bug

This commit is contained in:
Dennis Heimbigner 2011-12-13 04:16:52 +00:00
parent 66488a4773
commit a8732c1320
5 changed files with 12 additions and 11 deletions

View File

@ -12,7 +12,8 @@ ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = README COPYRIGHT RELEASE_NOTES test_prog.c lib_flags.am
# Doxygen doesn't build nicely in vpath builds.
DISTCHECK_CONFIGURE_FLAGS = --disable-doxygen
# Don't do this; it wipes out any exported values
#DISTCHECK_CONFIGURE_FLAGS = --disable-doxygen
pkgconfigdir=$(libdir)/pkgconfig
pkgconfig_DATA = netcdf.pc

5
cf
View File

@ -15,9 +15,10 @@ cmds=""
cmds="all"
#cmds="all check"
#cmds="all dist"
#cmds="all distcheck"
cmds="all distcheck"
PREFIX="/tmp/${HOST}"
# Default cases
PREFIX="/tmp/install/${HOST}"
stddir="/share/ed/local/${HOST}"
CPPFLAGS=""

View File

@ -94,8 +94,6 @@ if test "x$enable_netcdf_4" = "x" ; then
AC_ARG_ENABLE([netcdf4], [AS_HELP_STRING([--enable-netcdf4],
[build with netcdf-4 (HDF5 and zlib required)])])
enable_netcdf_4="$enable_netcdf4"
else
enable_netcdf4="$enable_netcdf_4"
fi
# Does the user want to turn on HDF4 read ability?
@ -600,12 +598,14 @@ AC_CHECK_LIB([m], [floor], [],
[AC_MSG_ERROR([Can't find or link to the math library.])])
if test "x$enable_netcdf_4" = xyes; then
AC_DEFINE([USE_NETCDF4], [1], [if true, build netCDF-4])
AC_DEFINE([H5_USE_16_API], [1], [use HDF5 1.6 API])
AC_SEARCH_LIBS([SZ_Compress], [szip sz], [], [])
# Check for the main hdf5 and hdf5_hl library.
AC_SEARCH_LIBS([H5Fflush], [hdf5dll hdf5], [],
[AC_MSG_ERROR([Can't find or link to the hdf5 library. Use --disable-netcdf-4, or see config.log for errors.])])
AC_SEARCH_LIBS([H5DSis_scale], [hdf5_hldll hdf5_hl], [],

View File

@ -28,7 +28,7 @@ if !BUILD_DLL
check_PROGRAMS = rewrite-scalar ctest ctest64 ncdump tst_utf8
TESTS = run_tests.sh tst_64bit.sh ctest ctest64 tst_output.sh \
tst_lengths.sh tst_calendars.sh tst_utf8 run_utf8_tests.sh \
tst_nccopy3.sh tst_charfill.sh
tst_nccopy3.sh
if USE_NETCDF4
# NetCDF-4 has some extra tests.
@ -41,7 +41,7 @@ TESTS += tst_create_files tst_group_data tst_enum_data tst_opaque_data \
tst_string_data tst_vlen_data tst_comp tst_comp2 tst_nans \
tst_special_atts tst_netcdf4.sh tst_h_rdc0 tst_unicode tst_fillbug \
tst_fillbug.sh tst_netcdf4_4.sh tst_compress tst_nccopy4.sh \
tst_grp_spec.sh
tst_grp_spec.sh tst_charfill.sh
if EXTRA_TESTS
TESTS += run_back_comp_tests.sh

View File

@ -1,9 +1,8 @@
/* A Bison parser, made by GNU Bison 2.4.3. */
/* A Bison parser, made by GNU Bison 2.5. */
/* Skeleton interface for Bison's Yacc-like parsers in C
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
2009, 2010 Free Software Foundation, Inc.
Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by