Skip to content

NAPI C++ test fail for HDF4 and XML #426

@eugenwintersberger

Description

@eugenwintersberger

It seems that after some changes to the attribute interface the tests for C++ fail with HDF4 and XML.
For HDF4 I get the following error message

wintersb@haso228w1:$ ./napi_test_cpp-hdf4 
NXinquirefile found: napi_test_cpp.hdf
This is a HDF4 file, attribute array API is not supported here 
terminate called after throwing an instance of 'NeXus::Exception'
  what():  NXgetnextattr failed
Aborted

and for XML

wintersb@haso228w1:$ ./napi_test_cpp-xml 
NXinquirefile found: napi_test_cpp.xml
This is an XML file, attribute array API is not supported here 
terminate called after throwing an instance of 'NeXus::Exception'
  what():  NXgetnextattr failed
Aborted

I guess this should be easy to fix for those people who made the changes to the attribute interface.
Please, when you make changes in the code, always ensure that all tests are green.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions