Disable the EXPECT_DEATH check in bitbuffer on Android

BUG=4364
R=noahric@chromium.org, pthatcher@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/46349004

Cr-Commit-Position: refs/heads/master@{#9226}
This commit is contained in:
Donald E Curtis 2015-05-19 13:18:00 -07:00
parent bf560ddf91
commit 97bce58ed9

View File

@ -164,8 +164,12 @@ TEST(BitBufferTest, SetOffsetValues) {
EXPECT_EQ(0u, bit_offset);
EXPECT_FALSE(buffer.Seek(4, 1));
// Disable death test on Android because it relies on fork() and doesn't play
// nicely.
#if !defined(WEBRTC_ANDROID)
// Passing a NULL out parameter is death.
EXPECT_DEATH(buffer.GetCurrentOffset(&byte_offset, NULL), "");
#endif
}
uint64 GolombEncoded(uint32 val) {