-
-
Notifications
You must be signed in to change notification settings - Fork 294
Move h5repacktst file generation to h5repackgentest #5564
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
base: develop
Are you sure you want to change the base?
Conversation
*/ | ||
int | ||
make_h5repack_testfiles(void) |
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.
These ~5,000 lines are just copied from h5repacktst.c
and don't need to be closely inspected
|
||
#define MAX_NAME_SIZE 256 | ||
#define PAGE_SIZE_DEFAULT 4096 |
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.
h5repacktst originally used FS_PAGESIZE_DEF
from h5repack.h
. To avoid using h5repack internal symbols, we define a different symbol here with the same value.
int verify_userblock(const char *filename); | ||
|
||
/* fill value test */ | ||
#define H5REPACK_FNAME0 "h5repack_fill.h5" |
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.
These symbols are shared between h5repackgentest.c
and h5repacktst.c
Marked as draft until I fix build issues on Windows |
da59399
to
22f9b77
Compare
This is motivated primarily by the need to be able to generate the h5repacktst files for h5repack VOL tests.
This currently only applies to VFD tests for h5repack.