Skip to content

Conversation

mattjala
Copy link
Contributor

@mattjala mattjala commented Oct 10, 2025

This should fix the CI test failures with the external passthrough VOL.


Important

Disable tszip and tdeflate tests in CMakeTests.cmake when SZIP or deflate filters are unavailable to fix CI test failures.

  • Behavior:
    • Disable tszip and tdeflate tests in CMakeTests.cmake if SZIP or deflate filters are unavailable, respectively.
    • Add NATIVE_ONLY flag to tszip, tdeflate, and tallfilters tests when filters are not available.
  • Conditions:
    • Check HDF5_ENABLE_SZIP_SUPPORT for SZIP filter availability.
    • Check H5_HAVE_FILTER_DEFLATE for deflate filter availability.
  • Misc:
    • Fix CI test failures related to external passthrough VOL by ensuring tests only run when filters are available.

This description was created by Ellipsis for ab914d2. You can customize this summary. It will automatically update as commits are pushed.

# SZIP
ADD_H5_TEST (tszip RESULT_CODE 0 APPLY_FILTERS 2 --enable-error-stack -H -p -d szip TARGET_FILE tfilters.h5)
# For VOL connectors, test files are generated during testing, which requires the filter itself to be available.
if (HDF5_ENABLE_SZIP_SUPPORT)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure this will be correct if HDF5_ENABLE_SZIP_SUPPORT is true yet fails to actually succeed in implementing it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In CMakeFilters.cmake, it looks like HDF5_ENABLE_SZIP_SUPPORT is turned off if the build tries to enable it and fails (line 256). So the case you describe should be unable to occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - Testing Code in test or testpar directories, GitHub workflows

Projects

Status: To be triaged

Development

Successfully merging this pull request may close these issues.

3 participants