On 24/06/2016 17:43, Allen Byrne wrote:
We have decided to fix the issue by not defining getpwuid for cygwin. That
should fix the error.
Secondly, we will remove the *-pc-cygwin files in config and create a single
cygwin file with the following contents:

# Use the linux-gnulibc1 file.
. $srcdir/config/linux-gnulibc1

I have tested these on both 32/64 cygwin.
The usual tests fail (cache_api, dt_arith, testerror) on 32 and 64 cygwin.
On 64bit cygwin, testhdf5 segfaults, and I have trouble with tools. This is
consistent with my past attempts.

Maybe we need to adjust the actual flag options we use, since they are our
linux selections. At least the config files are actually being used by cygwin.

Allen


Hi Allen,
testhdf5 works fine for me.

My configuration
/cygdrive/e/cyg_pub/devel/hdf5/hdf5-1.8.17-1.x86_64/src/hdf5-1.8.17/configure --srcdir=/cygdrive/e/cyg_pub/devel/hdf5/hdf5-1.8.17-1.x86_64/src/hdf5-1.8.17 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/hdf5 --htmldir=/usr/share/doc/hdf5/html -C --enable-shared --disable-static --with-zlib --with-gnu-ld --enable-shared --enable-unsupported --with-pthread --enable-cxx FC=gfortran



$ cat  c++/test/testhdf5.chklog
============================
C++ API:  testhdf5.exe  Test Log
============================

For help use: /cygdrive/e/cyg_pub/devel/hdf5/hdf5-1.8.17-1.x86_64/build/c++/test/./.libs/testhdf5 -help
Linked with hdf5 version 1.8 release 17
Testing  -- File I/O Operations (tfile)
   Subtest: File Creation I/O                                    PASSED
   Subtest: File Opening I/O                                     PASSED
   Subtest: File Size                                            PASSED
   Subtest: File Name                                            PASSED
   Subtest: File Attribute                                       PASSED
   Subtest: Setting library version bounds                       PASSED
Testing  -- Dataset I/O Operations (dsets)
   Subtest: Create, open, close                                  PASSED
   Subtest: Simple I/O                                           PASSED
   Subtest: Data type conversion                                 PASSED
   Subtest: Compression (setup)                                  PASSED
   Subtest: Compression (uninitialized read)                     PASSED
   Subtest: Compression (write)                                  PASSED
   Subtest: Compression (read)                                   PASSED
   Subtest: Compression (modify)                                 PASSED
   Subtest: Compression (re-open)                                PASSED
   Subtest: Compression (partial I/O)                            PASSED
   Subtest: Compression (app-defined method)                     PASSED
   Subtest: N-bit compression (setup)                            PASSED
   Subtest: Multi-open with extending                            PASSED
   Subtest: Various datatypes                                    PASSED
   Subtest: DataSet::getInMemDataSize()                          PASSED
Testing  -- Dataspaces (th5s)
   Subtest: Dataspace Manipulation                               PASSED
   Subtest: Scalar Dataspace Writing                             PASSED
   Subtest: Scalar Dataspace Reading                             PASSED
   Subtest: Null Dataspace Writing                               PASSED
   Subtest: Compound Dataspace Writing                           PASSED
   Subtest: Compound Dataspace Reading                           PASSED
Testing  -- Attributes (tattr)
   Subtest: Basic Attribute Writing Functions                    PASSED
   Subtest: Testing all overloads of Attribute::getName          PASSED
   Subtest: Checking for Existence and Renaming Attribute        PASSED
   Subtest: Basic Attribute Reading Functions                    PASSED
   Subtest: Multiple Attribute Functions                         PASSED
   Subtest: Basic Attribute Functions                            PASSED
   Subtest: Basic Scalar Attribute Writing Functions             PASSED
   Subtest: Basic Scalar Attribute Reading Functions             PASSED
   Subtest: Multiple Attribute Writing Functions                 PASSED
   Subtest: Multiple Attribute Reading Functions                 PASSED
   Subtest: Removing Attribute Function                          PASSED
   Subtest: Shared Datatypes with Attributes                     PASSED
   Subtest: I/O on FL and VL String Attributes                   PASSED
   Subtest: Check Attribute Existence                            PASSED
   Subtest: Basic Attribute Writing Functions                    PASSED
   Subtest: Testing all overloads of Attribute::getName          PASSED
   Subtest: Checking for Existence and Renaming Attribute        PASSED
   Subtest: Basic Attribute Reading Functions                    PASSED
   Subtest: Multiple Attribute Functions                         PASSED
   Subtest: Basic Attribute Functions                            PASSED
   Subtest: Basic Scalar Attribute Writing Functions             PASSED
   Subtest: Basic Scalar Attribute Reading Functions             PASSED
   Subtest: Multiple Attribute Writing Functions                 PASSED
   Subtest: Multiple Attribute Reading Functions                 PASSED
   Subtest: Removing Attribute Function                          PASSED
   Subtest: Shared Datatypes with Attributes                     PASSED
   Subtest: I/O on FL and VL String Attributes                   PASSED
   Subtest: Check Attribute Existence                            PASSED
   Subtest: Dense Attribute Storage Creation                     PASSED
   Subtest: Basic Code for Attributes with Creation Order Info   PASSED
Testing  -- Objects (tobject)
   Subtest: H5Object::getObjName on Groups and Datasets          PASSED
   Subtest: H5Object::getObjName on Committed Datatypes          PASSED
   Subtest: H5File::childObjType and H5Group::childObjType       PASSED
Testing  -- References (trefer)
   Subtest: Object Reference Parameters                          PASSED
   Subtest: Object Reference Functions                           PASSED
   Subtest: Object Reference to Group                            PASSED
   Subtest: 1-D Dataset Region Reference Functions               PASSED
Testing  -- Variable-Length Strings (tvlstr)
   Subtest: VL String on Datasets                                PASSED
   Subtest: Special VL Strings                                   PASSED
   Subtest: VL String Type                                       PASSED
   Subtest: VL Strings on Compact Dataset                        PASSED
   Subtest: VL String on Attributes                              PASSED
   Subtest: VL String Array on Attributes                        PASSED
   Subtest: VL String Array on Datasets                          PASSED
   Subtest: I/O on VL strings with link/unlink                   PASSED
Testing  -- Generic Data Types (ttypes)
   Subtest: PredType::getClass()                                 PASSED
   Subtest: DataType::copy() and DataType::operator=             PASSED
   Subtest: Query functions of compound and enumeration types    PASSED
   Subtest: Transient datatypes                                  PASSED
   Subtest: Named datatypes                                      PASSED
Testing  -- Array Datatypes (tarray)
   Subtest: ArrayType::getArrayNDims & ArrayType::getArrayDims   PASSED
   Subtest: ArrayType::operator=                                 PASSED
   Subtest: ArrayType Const Methods                              PASSED
Testing  -- Compound Data Types (tcompound)
   Subtest: Compound Data Types                                  PASSED
   Subtest: Compound Element Reordering                          PASSED
   Subtest: Compound Datatype Subset Conversions                 PASSED
   Subtest: Compound Element Shrinking & Reordering              PASSED
   Subtest: Optimized Struct Converter                           PASSED
   Subtest: Compound Element Growing                             PASSED
   Subtest: Compound Element Insertion                           PASSED
   Subtest: Setting Size on Compound Datatype                    PASSED
Testing  -- Dataset Property List (tdspl)
   Subtest: DSetMemXferPropList::set/getDataTransform()          PASSED
Testing  -- Various Filters (tfilter)
   Subtest: 'Null' filter                                        PASSED
   Subtest: szip filter                                          -SKIP-
    Szip filter not enabled for file 'tfilters.h5'
Testing  -- Various Links (tlinks)
   Subtest: Link creation                                        PASSED
   Subtest: Link creation (w/new group format)                   PASSED


All tests were successful.


Cleaning Up temp files...


Finished testing testhdf5.exe
============================

$ cat  test/testhdf5.chklog
============================
 testhdf5.exe  Test Log
============================

For help use: /cygdrive/e/cyg_pub/devel/hdf5/hdf5-1.8.17-1.x86_64/build/test/./.libs/testhdf5 -help
Linked with hdf5 version 1.8 release 17
Testing  -- Configure definitions (config)
Testing  -- Encoding/decoding metadata (metadata)
Testing  -- Checksum algorithm (checksum)
Testing  -- Ternary Search Trees (tst)
Testing  -- Memory Heaps (heap)
Testing  -- Skip Lists (skiplist)
Testing  -- Reference Counted Strings (refstr)
Testing  -- Low-Level File I/O (file)
Testing  -- Generic Object Functions (objects)
Testing  -- Dataspaces (h5s)
Testing  -- Dataspace coordinates (coords)
Testing  -- Shared Object Header Messages (sohm)
Testing  -- Attributes (attr)
Testing  -- Selections (select)
Testing  -- Time Datatypes (time)
Testing  -- References (reference)
Testing  -- Variable-Length Datatypes (vltypes)
Testing  -- Variable-Length Strings (vlstrings)
Testing  -- Group & Attribute Iteration (iterate)
Testing  -- Array Datatypes (array)
Testing  -- Generic Properties (genprop)
Testing  -- UTF-8 Encoding (unicode)
Testing  -- User-Created Identifiers (id)
Testing  -- Miscellaneous (misc)


All tests were successful.


Cleaning Up temp files...


Finished testing testhdf5.exe
============================


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to