-
-
Notifications
You must be signed in to change notification settings - Fork 325
Merge test file generators for tools #5515
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
Conversation
tools/test/misc/h5clear_gentest.c
Outdated
| return 1; | ||
| } /* gen_enhance_files() */ | ||
|
|
||
| #define FILENAME_ENHANCE_6 \ |
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 entries were removed from the FILENAME_ENHANCE array since they're used in a different manner, and because doing so allowed the core/script split to be done more cleanly. Entries 6 and 7 were only used in main, while 0-5 were only used in the routines.
h5clear_gentest was excluded from h5gentest because it exits in a specific way to leave IDs open. |
|
Just a couple minor comments but this looks pretty good to me. |
|
The commit title/description for this PR could likely use a bit of editing before merge as the purpose has changed a bit from the original idea. |
* Add header files for tool gentest scripts * Correct library type for core targets * Use EXIT_SUCCESS/EXIT_FAILURE on script exit * Remove h5clear from merged script * Include gentest header * Add udfilter files to h5copy gen func * Add nerror returns to main generator functions * Move defines to tool headers * Add copyright header
This will allow gentest scripts to share routines between each other, so that cases where multiple tools tests require the same file can be handled without directly copying the files or duplicating file generation routines.
Split the tool gentest files into source and header portions.
Actual test file generation is now done through a single script with command line options