From a650b05ebee8fb8d0df03396002e680b3a79918d Mon Sep 17 00:00:00 2001 From: Leonardo Sandoval Date: Tue, 29 May 2018 12:13:11 -0500 Subject: benchtests: Catch exceptions in input arguments Catch runtime exceptions in case the user provided: wrong base function, attribute(s) or input file. In any of the latter, quit immediately with non-zero return code. * benchtests/scripts/compare_string.py: (process_results) Catch exception in non-existent base_func and catch exception in non-existent attribute. (parse_file) Catch exception in non-existent input file. --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index c855a2c787..d9b1ea34cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2018-06-01 Leonardo Sandoval + + * benchtests/scripts/compare_string.py: (process_results) Catch + exception in non-existent base_func and catch exception in + non-existent attribute. + (parse_file) Catch exception if input file does not exist. + 2018-06-01 Leonardo Sandoval * benchtests/scripts/compare_string.py: Add --no-diff and --no-header -- cgit v1.2.3