Return non-zero when there were failures.

Change-Id: I6d374719ba92c4de3842a8ede577837dbe4369d2