diff options
author | Alexandre Rames <alexandre.rames@linaro.org> | 2016-08-11 09:15:27 +0000 |
---|---|---|
committer | Linaro Android Code Review <android-review@review.linaro.org> | 2016-08-11 09:15:27 +0000 |
commit | 9c53e75186c05783167ee955c9133b9f3445de5d (patch) | |
tree | ddc8f8209b34fe0efbcfe45ed832fe359f1157c9 | |
parent | 2d33b18ee0dc6a25ca99819700f0f269f36a601b (diff) | |
parent | 3319ffe600482a64542748c4114f6eb4f223c2bb (diff) | |
download | art-testing-9c53e75186c05783167ee955c9133b9f3445de5d.tar.gz |
Merge "Update `--output-for-linaro-automation` to imply `--order-by-diff`."
-rwxr-xr-x | compare.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -63,6 +63,7 @@ def BuildOptions(): super(LinaroAutomationAction, self).__init__(option_strings, **kwargs) def __call__(self, parser, namespace, values, option_string=None): setattr(namespace, 'significant_changes', True) + setattr(namespace, 'order_by_diff', True) parser.add_argument('--output-for-linaro-automation', action=LinaroAutomationAction, default=False, @@ -127,7 +128,8 @@ def PrintDiff(data_1, data_2, value_2 = data_2[k] if data_2 and k in data_2 else None maybe_entry = PrintDiff(value_1, value_2, k, indentation + indentation_level, - print_extended=print_extended) + print_extended=print_extended, + order_by_diff=order_by_diff) if maybe_entry is not None: entries.append(maybe_entry) if entries: |