benchtests: Catch exceptions in input arguments
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Tue, 29 May 2018 17:13:11 +0000 (12:13 -0500)
committerLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Fri, 1 Jun 2018 21:32:43 +0000 (16:32 -0500)
commita650b05ebee8fb8d0df03396002e680b3a79918d
treed92996746ffd77cb1d737f29c8896a570c74482d
parent195abbf4cd635fcaaf60016da488768b6e9d7e85
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
benchtests/scripts/compare_strings.py