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
tree: 5a8cb4efde156483675ef3741b1478cbf3dfad4f
  1. build/
  2. docs/
  3. tools/
  4. .gitignore
  5. DIR_METADATA
  6. OWNERS
  7. PRESUBMIT.cfg