diff options
author | Martin Peres <martin.peres@linux.intel.com> | 2015-10-09 16:10:15 +0300 |
---|---|---|
committer | Martin Peres <martin.peres@linux.intel.com> | 2015-10-09 16:11:50 +0300 |
commit | e02dcc962e05cd54c68c9a53c13941f7dfaa1c5c (patch) | |
tree | 73f75c8b35c099b6c85546d5a1634810001d675b | |
parent | 707ced887fa4489e1cb89c2354092b7f2d4814df (diff) |
ezbench.py: detect the invalid profile error
-rw-r--r-- | utils/ezbench.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/ezbench.py b/utils/ezbench.py index eebe711..c97336c 100644 --- a/utils/ezbench.py +++ b/utils/ezbench.py @@ -99,6 +99,11 @@ class Ezbench: if not dry_run and error is None: return True + if error is not None: + # Invalid profile + if error.returncode == 12: + return False + # we need to parse the output commits= [] benchmarks = [] |