H5RegressionCheck
- class reframe_tests.tests.regression_checks.H5RegressionCheck(output_file: Union[str, PathLike], reference_file: Union[str, PathLike])
Compare two hdf5 files using h5diff
- __init__(output_file: Union[str, PathLike], reference_file: Union[str, PathLike]) None
Create a new regression check.
- Parameters
output_file – Path to output file generate by the test.
reference_file – Path to reference file to run the regression check against.
Methods
__init__(output_file, reference_file)Create a new regression check.
create_reference_file()Create reference file if it does not already exist.
reference_file_exists()Check if the reference file exists.
run()Run the regression check.
Attributes
error_msgMessage to display if the regression check fails