-
-
Notifications
You must be signed in to change notification settings - Fork 306
Generate VOL tests for h5dump #5763
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
@@ -951,7 +875,7 @@ macro (ADD_H5_TEST_IMPORT conffile resultfile testfile resultcode) | |||
if ("H5DUMP-IMPORT-h5import-${resultfile}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}") | |||
set_tests_properties (H5DUMP-IMPORT-h5import-${resultfile} PROPERTIES DISABLED true) | |||
endif () | |||
add_test (NAME H5DUMP-IMPORT-h5diff-${resultfile} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5diff> ${testfile} ${resultfile}.h5 /integer /integer) | |||
add_test (NAME H5DUMP-IMPORT- -${resultfile} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5diff> ${testfile} ${resultfile}.h5 /integer /integer) |
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.
There's a typographical error in the test name. The string 'H5DUMP-IMPORT- -${resultfile}' seems incorrect; it likely should be 'H5DUMP-IMPORT-h5diff-${resultfile}'.
add_test (NAME H5DUMP-IMPORT- -${resultfile} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5diff> ${testfile} ${resultfile}.h5 /integer /integer) | |
add_test (NAME H5DUMP-IMPORT-h5diff-${resultfile} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5diff> ${testfile} ${resultfile}.h5 /integer /integer) |
|
||
# all | ||
ADD_H5_COMP_TEST (tallfilters 0 1 --enable-error-stack -H -p -d all tfilters.h5) | ||
if (H5_HAVE_FILTER_SZIP) | ||
ADD_H5_TEST (tallfilters RESULT_CODE 0 APPLY_FILTERS 1 --enable-error-stack -H -p -d all TARGET_FILE tfilters.h5 APPLY_FILTERS 1) |
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.
Possible duplicate: The "APPLY_FILTERS 1" argument appears twice in the tallfilters test. Please confirm if the duplicate is intentional.
ADD_H5_TEST (tallfilters RESULT_CODE 0 APPLY_FILTERS 1 --enable-error-stack -H -p -d all TARGET_FILE tfilters.h5 APPLY_FILTERS 1) | |
ADD_H5_TEST (tallfilters RESULT_CODE 0 APPLY_FILTERS 1 --enable-error-stack -H -p -d all TARGET_FILE tfilters.h5) |
Depends on #5761 and #5752. Will be marked ready for review once those are merged
Important
Add VOL tests for h5dump, updating test generation and execution to support VOL connectors and specific configurations.
H5DUMP
tests fromctest
in.github/workflows/vol_rest.yml
.CMakeTests.cmake
.ADD_H5_TEST
macro inCMakeTests.cmake
to support VOL connectors, including handling of environment variables and test dependencies.gent_tvms()
inh5dumpgentest.c
andh5dumpgentest.h
for generating VMS test files.write_dset()
inh5dumpgentest.c
to accept separate dataset and memory types._Float16
tests inCMakeTestsXML.cmake
.h5gentest.c
fortCVE-2021-37501_attr_decode
test name.This description was created by
for 98124ec. You can customize this summary. It will automatically update as commits are pushed.