Parse RETRIES value from control files in run_remotes_tests

This CL gives run_remote_tests the ability to parse out RETRIES value
from client or server side control files, and pass the retries value
along to autoserv, for retrying of failed flaky tests.

BUG=chromium-os:39799
TEST=Kicked of a flaky_test with run_remote_tests, ensured that it
retried in case of failure.

Change-Id: I4feb1fa4bedeb15c9bc81ef3ed49ddad0cbdabe8
Reviewed-on: https://gerrit.chromium.org/gerrit/45123
Reviewed-by: Chris Sosa <sosa@chromium.org>
Commit-Queue: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
1 file changed