Reintroduce error suppression in DebugTest expectMessage().
authorJarkko Pöyry <jpoyry@google.com>
Tue, 3 Mar 2015 22:06:23 +0000 (14:06 -0800)
committerJarkko Pöyry <jpoyry@google.com>
Tue, 3 Mar 2015 23:20:43 +0000 (15:20 -0800)
commita43f5b2bbe423890ad95b7ec8af8c197d4c891b0
tree5aff72a3b778e0848c007a4eb4ed778866f02f01
parente1b5f30fef69474bfc91a7d68ced7abf5199737a
Reintroduce error suppression in DebugTest expectMessage().

- Add error suppression back to expectMessage to prevent potentially
  dirty error state from affecting subsequent checks within a same
  test case. Error suppression was removed in b/18915042 when it was
  errorneously assumed that it was no longer needed after fixing
  b/18915339.
- Tolerate resource leakage in shader_source test.

Bug: 19589360
Bug: 18915042
Change-Id: I4e269f757c99173d4d7f0d5cc273699c0cb69628
modules/gles31/functional/es31fDebugTests.cpp
modules/gles31/functional/es31fNegativeShaderApiTests.cpp