ReceiverRegressionCheck
- class reframe_tests.tests.regression_checks.ReceiverRegressionCheck(output_file: Union[str, PathLike], reference_file: Union[str, PathLike], output_receiver: str, reference_receiver: Optional[str] = None)
Run regression check on individual reveivers in output files.
This can include arbitrary receivers in each file, or two receivers in the same file.
- __init__(output_file: Union[str, PathLike], reference_file: Union[str, PathLike], output_receiver: str, reference_receiver: Optional[str] = None) None
Create a new receiver 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.
output_receiver – Output receiver to check.
reference_receiver – Optional receiver to check against in the reference file. If None, this will be the same as the output receiver.
Methods
__init__(output_file, reference_file, ...[, ...])Create a new receiver 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