aboutsummaryrefslogtreecommitdiff
path: root/compare.py
diff options
context:
space:
mode:
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),