crosperf: add support to run tast benchmarks

Crosperf used to only support autotest server/client tests, and was
limiting us from running and collecting tast benchmarks.

This patch introduces a simple support for crosperf to run tast. Note
that currently we do not support passing arguments or running tast with
local changes. It basically launches `tast run <ip> <tast_test>` and
collects chart json result and parses it.

BUG=chromium:1071937
TEST=tested with tast.platform.ReportDiskUsage

Change-Id: I1980a48c4ca8e02548e5313d32b8c5ddcf5e3e60
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2160128
Commit-Queue: Zhizhou Yang <zhizhouy@google.com>
Tested-by: Zhizhou Yang <zhizhouy@google.com>
Auto-Submit: Zhizhou Yang <zhizhouy@google.com>
Reviewed-by: George Burgess <gbiv@chromium.org>
5 files changed