crospts: Fix only parse one result in each test
One results-chart.json contains several results, but the parsing
function only extracted the first one. Added a function to iterate and
extract all the results.
BUG=b:324153234
TEST=./run_crospts.py -p mbw -u cns <DUT> and ensure all the results are
included
Change-Id: Ib2bddcce6721cb3eeb6abd55cc6e52b3b00971c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crospts/+/5274062
Commit-Queue: Darren Wu <darrenwu@chromium.org>
Tested-by: Darren Wu <darrenwu@chromium.org>
Reviewed-by: David Stevens <stevensd@chromium.org>
1 file changed