aboutsummaryrefslogtreecommitdiff
path: root/compare.py
diff options
context:
space:
mode:
authorJulien Duraj <julien.duraj@linaro.org>2016-10-03 14:34:28 +0100
committerJulien Duraj <julien.duraj@linaro.org>2016-10-04 09:58:11 +0100
commit38db2722756cd7a22be7b6c57b1710fc5642f38f (patch)
treea06bb47d8055fa604607f81706a868ea56751a55 /compare.py
parent91dda2aac21c5462f34456d19c7f5cfa7f3a0b73 (diff)
downloadart-testing-lor_marshmallow.tar.gz
Print removed keys and remove stacktrace in warningslor_marshmallow
Change-Id: Ie5ef0a122dee6dabe62077f340f9a0844bb4219a
Diffstat (limited to 'compare.py')
-rwxr-xr-xcompare.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/compare.py b/compare.py
index 3d1a780..913dcd1 100755
--- a/compare.py
+++ b/compare.py
@@ -196,9 +196,10 @@ if __name__ == "__main__":
filter_stats_warnings=args.output_for_linaro_automation)
if not utils.HaveSameKeys(res_1, res_2):
+ res_1, res_2, diff = utils.KeepSameKeys(res_1, res_2)
utils.Warning("Computing geomean on a subset of statistics which only " \
- "includes keys common to both datasets.")
- res_1, res_2 = utils.KeepSameKeys(res_1, res_2)
+ "includes keys common to both datasets.\n" \
+ "Removed Keys: " + str(diff))
utils_stats.ComputeAndPrintRelationGeomean(
utils.Unflatten(res_1),
utils.Unflatten(res_2),