autotest/factory: improve message feedback on UI
This CL improved factory UI message feedback by:
- allowing gooftool output goes to console immediately
- provides hardware components matching results on Review screen
This CL needs to be applied with http://codereview.chromium.org/6733063
.
BUG=chromium-os:13459
TEST=Running hardware_Components on UI.
The probing verbose message now displayed progress immediately.
For "unmatched" results, the review page will list the difference.
Sample:
TestFail: No HWID matched.
Unmatched for XXX:
{'hash_ec_firmware': ['644f95ee34c79ebf833c3f6002325b33506ecf18449e9b2c574e519a2e573e6e'],
'key_recovery': ['No match'],
'key_root': ['No match'],
'part_id_3g': ['No match'],}
Unmatched for YYY:
{'part_id_3g': ['No match'],
'part_id_audio_codec': ['Realtek ALC271X'],
'part_id_cpu': ['Intel(R) Atom(TM) CPU N570 @ 1.66GHz'],
'part_id_ec_flash_chip': ['Winbond W25x40']}
Change-Id: Ie63c327a114e82f17b0601f8748f015b9be9f32c
R=tammo@chromium.org,nsanders@chromium.org
Review URL: http://codereview.chromium.org/6736025
7 files changed