-
Notifications
You must be signed in to change notification settings - Fork 12
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
Conversation
vol_object_test.c
Outdated
"/" OBJECT_VISIT_TEST_GROUP_NAME_GRANDCHILD)) { | ||
(*i)--; | ||
goto done; | ||
} |
There was a problem hiding this comment.
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.
vol_object_test.c
Outdated
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); |
There was a problem hiding this comment.
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
No description provided.