[OE-core] [PATCH 1/2] buildhistory: correctly handle reductions of numeric fields
Paul Eggleton
paul.eggleton at linux.intel.com
Mon Jul 30 12:20:24 UTC 2012
On Monday 30 July 2012 13:18:06 Ross Burton wrote:
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
> meta/lib/oe/buildhistory_analysis.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/lib/oe/buildhistory_analysis.py
> b/meta/lib/oe/buildhistory_analysis.py index 29dc4a9..d0e0808 100644
> --- a/meta/lib/oe/buildhistory_analysis.py
> +++ b/meta/lib/oe/buildhistory_analysis.py
> @@ -300,7 +300,7 @@ def compare_dict_blobs(path, ablob, bblob, report_all):
> percentchg = ((bval - aval) / float(aval)) * 100
> else:
> percentchg = 100
> - if percentchg < monitor_numeric_threshold:
> + if abs(percentchg) < monitor_numeric_threshold:
> continue
> elif (not report_all) and key in list_fields:
> if key == "FILELIST" and path.endswith("-dbg") and
> bstr.strip() != '':
Acked-by: Paul Eggleton <paul.eggleton at linux.intel.com>
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list