summaryrefslogtreecommitdiff
path: root/scripts/update_payload/checker_unittest.py
diff options
context:
space:
mode:
authorGilad Arnold <garnold@google.com>2015-07-16 14:14:03 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-07-17 01:46:06 +0000
commite4beff7dacb170298f86bb5bde1946b9b827b174 (patch)
tree3f7d46a4881dcd7867b5e00cab1fab8a5242161f /scripts/update_payload/checker_unittest.py
parent4b8f4c2f76dcbac32dc7729458f846bd6eed5c63 (diff)
paycheck: Fix printing of operation index while tracing.
The block tracer is meant to scan operations in reverse order, to discover the latest operation that writes to a block. Strangely, it only reversed the operation indexes but scanned the actual operations in the original order, which is both incorrect in the general case, but even when it works the printed results are confusing (operations shown with the wrong index). This fixes it. Also some cosmetic changes to pacify the linter. BUG=chromium:510909 TEST=paycheck -B now prints the correct operation indexes. Change-Id: I65c44eeb450c229a2d5251737a0953716e124687 Reviewed-on: https://chromium-review.googlesource.com/286220 Commit-Queue: Gilad Arnold <garnold@chromium.org> Tested-by: Gilad Arnold <garnold@chromium.org> Reviewed-by: Don Garrett <dgarrett@chromium.org>
Diffstat (limited to 'scripts/update_payload/checker_unittest.py')
0 files changed, 0 insertions, 0 deletions