Ticket #149 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

python test script fails with hdf4 and xml

Reported by: Freddie Akeroyd Owned by: Paul Kienzle
Priority: major Milestone: NeXus 4.2 Release
Component: napi Version: 4.2rc2
Keywords: Cc: carlos.pascual@…

Description

python nxstest.py hdf5 works OK, but both python nxstest.py hdf4 and python nxstest.py xml fail

I've now added the python test to the usual "make check" and it will appear in the next commit and 4.2 branch kit

Change History

comment:1 Changed 3 years ago by Freddie Akeroyd

(In [1146]) Add puython test script to usual tests run. Refs #149.

comment:2 Changed 3 years ago by Freddie Akeroyd

(In [1147]) Remove data files created by python test. Refs #149.

comment:3 Changed 3 years ago by Paul Kienzle

hdf4 test now suppresses i8 test.

xml/hdf4 are now failing because NXgroupinfo returns different results from HDF5 and HDF4/XML.

comment:4 Changed 3 years ago by Freddie Akeroyd

(In [1170]) Use == rather than "is" for comparison. Refs #149.

comment:5 Changed 3 years ago by Paul Kienzle

(In [1171]) xml getattrinfo now returns correct number of attrs for root; nxstest now skips bogus CDF0.0 entry in HDF4 root; nxs/napi.py now reimplements openpath so that nexus file knows its current path. Refs #149.

comment:6 Changed 3 years ago by Paul Kienzle

(In [1172]) Improve handling of CDF0.0 and other HDF4 problems. Refs #149.

comment:7 Changed 3 years ago by Freddie Akeroyd

(In [1173]) Adjust testsuite for fix to XML binding global attributes. Refs #149.

comment:8 Changed 3 years ago by Paul Kienzle

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.