Improve run_remote_tests by combining tests if possible.

Improves speed of run_remote_tests when running multiple tests by
combining them into a single control file. Only works when requested
tests are either all client or all server. The combination model
utilizes the same step engine that the Autotest frontend does.

The performance improvement is huge in this case, resulting in an
average 59% time reduction (2m03s vs 3m27s) for a 3 test run of
desktopui_ChromeFirstRender, login_LoginSuccess, and

I also investigated using a local package cache between iterations,
however this proved to have only a neglible impact on performance (3m11s
vs 3m16s) with increases in complexity and log spam as well as a
performance reduction (2m29s vs 2m03s) in the new combined control model.

TEST=Ran run_remote_tests.

Change-Id: I7c59c1c69a25066c966029cb4b546e2ddb899b1c
Reviewed-by: Chris Masone <>
Tested-by: Dale Curtis <>
1 file changed