E3SM-Project / scorpio

A high-level Parallel I/O Library for structured grid applications
Other
21 stars 16 forks source link

Reset read buffers in some Fortran unit tests #549

Closed dqwu closed 1 year ago

dqwu commented 1 year ago

In certain Fortran unit tests, the read buffers are not reset to evaluate all available IO types.

If read buffers remain unreset, existing Fortran unit tests may fail to detect concealed bugs, exemplified by the issue confirmed in #546.

Examine existing Fortran unit tests and ensure that read buffers are always reset before testing the next available IO type.

Fixes #547