Skip to content
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

Test H5Ovisit on file, nested groups, and attributes #58

Merged
merged 6 commits into from
Jan 10, 2024

Conversation

mattjala
Copy link
Contributor

No description provided.

"/" OBJECT_VISIT_TEST_GROUP_NAME_GRANDCHILD)) {
(*i)--;
goto done;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd suggest rearranging the group hierarchy or even putting the nested groups in the separate new file created so that you don't have to worry about decrementing the counter here in other unrelated parts of the H5Ovisit test. That way the two different parts aren't dependent on each other and won't get out of sync and require more strcmp logic here if more nested groups are added.

H5Fdelete(filename, H5P_DEFAULT);

HDsnprintf(filename, VOL_TEST_FILENAME_MAX_LENGTH, "%s%s", test_path_prefix, OBJECT_VISIT_TEST_FILE_NAME);
H5Fdelete(OBJECT_VISIT_TEST_FILE_NAME, H5P_DEFAULT);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be filename instead of OBJECT_VISIT_TEST_FILE_NAME

@jhendersonHDF jhendersonHDF merged commit a254a37 into HDFGroup:master Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants