Update the libc_test.

- Refactored the fencepost testing code, include adding a fencepost
  before the buffer (when not using the value returned by malloc).
- Add a verbose option to display more information as the test runs.
- Change the test to stop on the first fail rather than keep going.

Merge change from internal master.

(cherry-picked from commit f0b2c68c83e6ced8f988f014bc235393ca231958)

Change-Id: I846c7a01be64a0bcea49084fe2f75df4af00e699
1 file changed