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.

TEST=Run ctest with and without --target_image option.

Change-Id: I311434b3da1c77f6ef9aa604d4e7f480b336ff81
Reviewed-by: Chris Sosa <>
Tested-by: David James <>
1 file changed