Add --target_image flag to ctest.

If multiple images are being built in parallel, ctest needs to
know what image to run so it is guaranteed to pick the right
image. This avoids flakiness and race conditions.

BUG=chromium-os:18856
TEST=Run ctest with and without --target_image option.

Change-Id: I311434b3da1c77f6ef9aa604d4e7f480b336ff81
Reviewed-on: http://gerrit.chromium.org/gerrit/5490
Reviewed-by: Chris Sosa <sosa@chromium.org>
Tested-by: David James <davidjames@chromium.org>
1 file changed