Skip to content

Generate VOL tests for h5copy #5497

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 14 commits into
base: develop
Choose a base branch
from

Conversation

mattjala
Copy link
Contributor

@mattjala mattjala commented Apr 28, 2025

  • Repack h5copy testfiles with h5repack to put them into the form that the VOL connector loaded through fetchcontent expects (e.g. multiple files, objects in object store)

  • If a VOL connector is provided at build time, CMake will create counterparts of the h5copy tests for that connector, with names of the form -

  • Add h5copy tests to the VOL workflows

The h5copy tests aren't added to the adios2 and the LOG VOL CI, because the workflows don't use fetchcontent to set up those connectors.

The h5copy tests are mostly disabled for the REST VOL because it doesn't factor in current working directory to the HSDS paths it accesses, so the h5copy tests fail due to being unable to find the files.

  • Factor some shared VOL parsing logic into a new macro

VOL CI results after this change are here

@mattjala mattjala added Priority - 2. Medium It would be nice to have this in the next release Component - Tools Command-line tools like h5dump, includes high-level tools Component - Testing Code in test or testpar directories, GitHub workflows labels Apr 28, 2025
@mattjala mattjala self-assigned this Apr 28, 2025
@mattjala mattjala force-pushed the h5copy_vol_testing_fetchcontent branch from d0c9988 to 5ac57c7 Compare April 28, 2025 15:10
@mattjala
Copy link
Contributor Author

Marking this as draft until I resolve issues with repack file generation

@mattjala mattjala marked this pull request as draft April 29, 2025 21:50
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 Component - Tools Command-line tools like h5dump, includes high-level tools Priority - 2. Medium It would be nice to have this in the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants