do not combine control files with retries when running a test suite

The previous behavior of run_remote_tests.sh when running a suite
consisting of only client or only server side tests, was to combine all
the control files for the suite's tests into one control file. This
reduces overhead, and makes the suite faster.

However, for tests in a suite that make use of the new test retries
feature using the RETRIES attribute, combining the control files into
one breaks the retries feature.

This CL causes run_remote_tests.sh to only combine a suite's control
files which have files with 0 or unspecified retries, and run all tests
that use retries separately.

CQ-DEPEND=I3baec71737eb5fed66f2d1a225b334eaa8e3d91b

BUG=chromium-os:39799
TEST=Run run_remote_tests.sh --remove=<dut> suite:dummyclientretries
See info output that two files are being combined for efficiency, and
two files with retires are being run separately. See that this is indeed
the case when the tests run.

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