Add chronological sorting to test results and key=value to --info.

Long suites have lengthy result lists and its hard to see how an
early failure can affect subsequent tests.  Add an option for sorting
test results in chronological order. Grabs a human-readable localtime
for grepping and a timestamp for sorting.

Also adds keys to --info csv data so that automated tools may find specific
info keys like bios version and ec version.

TEST=generate_test_report --strip "/tmp/..." --sort-chron "/tmp/..."
TEST=multiple variations with/without --sort-cron, --csv --info and --no-debug.

Change-Id: I9839e55526c5871a0e28434e8434224a2223e8c7
Reviewed-by: Chris Sosa <>
Commit-Ready: Mike Truty <>
Tested-by: Mike Truty <>
1 file changed