summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@linux.intel.com>2015-10-09 16:10:15 +0300
committerMartin Peres <martin.peres@linux.intel.com>2015-10-09 16:11:50 +0300
commite02dcc962e05cd54c68c9a53c13941f7dfaa1c5c (patch)
tree73f75c8b35c099b6c85546d5a1634810001d675b
parent707ced887fa4489e1cb89c2354092b7f2d4814df (diff)
ezbench.py: detect the invalid profile error
-rw-r--r--utils/ezbench.py5
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 = []