Commit 8d95669c authored by Greg Thompson's avatar Greg Thompson Committed by Commit Bot

Disable ClipboardMacTest.ReadImage{,Non}Retina under MSAN.

BUG=818167
TBR=grt@chromium.org

Change-Id: I568d03c8c644030b248cfa23e837bb4ea59814ee
Reviewed-on: https://chromium-review.googlesource.com/946189Reviewed-by: default avatarGreg Thompson <grt@chromium.org>
Commit-Queue: Greg Thompson <grt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#540508}
parent 6565533a
......@@ -58,7 +58,12 @@ class ClipboardMacTest : public PlatformTest {
}
};
TEST_F(ClipboardMacTest, ReadImageRetina) {
#if defined(MEMORY_SANITIZER)
#define MAYBE_ReadImageRetina DISABLED_ReadImageRetina
#else
#define MAYBE_ReadImageRetina ReadImageRetina
#endif
TEST_F(ClipboardMacTest, MAYBE_ReadImageRetina) {
int32_t width = 99;
int32_t height = 101;
scoped_refptr<ui::UniquePasteboard> pasteboard = new ui::UniquePasteboard;
......@@ -74,7 +79,12 @@ TEST_F(ClipboardMacTest, ReadImageRetina) {
EXPECT_EQ(2 * height, bitmap.height());
}
TEST_F(ClipboardMacTest, ReadImageNonRetina) {
#if defined(MEMORY_SANITIZER)
#define MAYBE_ReadImageNonRetina DISABLED_ReadImageNonRetina
#else
#define MAYBE_ReadImageNonRetina ReadImageNonRetina
#endif
TEST_F(ClipboardMacTest, MAYBE_ReadImageNonRetina) {
int32_t width = 99;
int32_t height = 101;
scoped_refptr<ui::UniquePasteboard> pasteboard = new ui::UniquePasteboard;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment