Temporarily disable a couple of ThreadChecker tests on Mac.
TBR=magjed@webrtc.org Review URL: https://webrtc-codereview.appspot.com/37969004 Cr-Commit-Position: refs/heads/master@{#8272} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8272 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -157,7 +157,15 @@ void ThreadCheckerClass::MethodOnDifferentThreadImpl() {
|
||||
}
|
||||
|
||||
#if ENABLE_THREAD_CHECKER
|
||||
TEST(ThreadCheckerDeathTest, MethodNotAllowedOnDifferentThreadInDebug) {
|
||||
// TODO(tommi): Re-enable tests after figuring out issue with Chromium try bots.
|
||||
#if defined(WEBRTC_MAC) || defined(WEBRTC_IOS)
|
||||
#define MAYBE_MethodNotAllowedOnDifferentThreadInDebug \
|
||||
DISABLED_MethodNotAllowedOnDifferentThreadInDebug
|
||||
#else
|
||||
#define MAYBE_MethodNotAllowedOnDifferentThreadInDebug \
|
||||
MethodNotAllowedOnDifferentThreadInDebug
|
||||
#endif
|
||||
TEST(ThreadCheckerDeathTest, MAYBE_MethodNotAllowedOnDifferentThreadInDebug) {
|
||||
ASSERT_DEATH({
|
||||
ThreadCheckerClass::MethodOnDifferentThreadImpl();
|
||||
}, "");
|
||||
@ -186,7 +194,13 @@ void ThreadCheckerClass::DetachThenCallFromDifferentThreadImpl() {
|
||||
}
|
||||
|
||||
#if ENABLE_THREAD_CHECKER
|
||||
TEST(ThreadCheckerDeathTest, DetachFromThreadInDebug) {
|
||||
// TODO(tommi): Re-enable tests after figuring out issue with Chromium try bots.
|
||||
#if defined(WEBRTC_MAC) || defined(WEBRTC_IOS)
|
||||
#define MAYBE_DetachFromThreadInDebug DISABLED_DetachFromThreadInDebug
|
||||
#else
|
||||
#define MAYBE_DetachFromThreadInDebug DetachFromThreadInDebug
|
||||
#endif
|
||||
TEST(ThreadCheckerDeathTest, MAYBE_DetachFromThreadInDebug) {
|
||||
ASSERT_DEATH({
|
||||
ThreadCheckerClass::DetachThenCallFromDifferentThreadImpl();
|
||||
}, "");
|
||||
|
||||
Reference in New Issue
Block a user