Commit c112d23f authored by jochen@chromium.org's avatar jochen@chromium.org

Disable GPU featuret tests that fail on XP and Vista

BUG=332341
TBR=ccameron@chromium.org

Review URL: https://codereview.chromium.org/127753003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243519 0039d316-1c4b-4281-b951-d872f2087c98
parent 06dfa6c3
...@@ -295,8 +295,8 @@ IN_PROC_BROWSER_TEST_F(WebGLTest, WebGLDisabled) { ...@@ -295,8 +295,8 @@ IN_PROC_BROWSER_TEST_F(WebGLTest, WebGLDisabled) {
RunEventTest(url, kWebGLCreationEvent, false); RunEventTest(url, kWebGLCreationEvent, false);
} }
#if defined(GOOGLE_CHROME_BUILD) && defined(OS_MACOSX) #if (defined(GOOGLE_CHROME_BUILD) && defined(OS_MACOSX)) || defined(OS_WIN)
// http://crbug.com/314745 // http://crbug.com/314745 and http://crbug.com/332341
#define MultisamplingAllowed DISABLED_MultisamplingAllowed #define MultisamplingAllowed DISABLED_MultisamplingAllowed
#endif #endif
IN_PROC_BROWSER_TEST_F(GpuFeatureTest, MultisamplingAllowed) { IN_PROC_BROWSER_TEST_F(GpuFeatureTest, MultisamplingAllowed) {
...@@ -367,7 +367,13 @@ IN_PROC_BROWSER_TEST_F(WebGLMultisamplingTest, MultisamplingDisabled) { ...@@ -367,7 +367,13 @@ IN_PROC_BROWSER_TEST_F(WebGLMultisamplingTest, MultisamplingDisabled) {
RunTest(url, "\"FALSE\"", true); RunTest(url, "\"FALSE\"", true);
} }
IN_PROC_BROWSER_TEST_F(GpuFeatureTest, Canvas2DAllowed) { // http://crbug.com/332341
#if defined(OS_WIN)
#define MAYBE_Canvas2DAllowed DISABLED_Canvas2DAllowed
#else
#define MAYBE_Canvas2DAllowed Canvas2DAllowed
#endif
IN_PROC_BROWSER_TEST_F(GpuFeatureTest, MAYBE_Canvas2DAllowed) {
// Accelerated canvas 2D is not supported on XP. // Accelerated canvas 2D is not supported on XP.
if (gpu::GPUTestBotConfig::CurrentConfigMatches("XP")) if (gpu::GPUTestBotConfig::CurrentConfigMatches("XP"))
return; return;
...@@ -442,8 +448,16 @@ IN_PROC_BROWSER_TEST_F(Canvas2DDisabledTest, Canvas2DDisabled) { ...@@ -442,8 +448,16 @@ IN_PROC_BROWSER_TEST_F(Canvas2DDisabledTest, Canvas2DDisabled) {
RunEventTest(url, kAcceleratedCanvasCreationEvent, false); RunEventTest(url, kAcceleratedCanvasCreationEvent, false);
} }
// Fails on XP and Vista bots. http://crbug.com/332341
#if defined(OS_WIN)
#define MAYBE_CanOpenPopupAndRenderWithWebGLCanvas \
DISABLED_CanOpenPopupAndRenderWithWebGLCanvas
#else
#define MAYBE_CanOpenPopupAndRenderWithWebGLCanvas \
CanOpenPopupAndRenderWithWebGLCanvas
#endif
IN_PROC_BROWSER_TEST_F(GpuFeatureTest, IN_PROC_BROWSER_TEST_F(GpuFeatureTest,
CanOpenPopupAndRenderWithWebGLCanvas) { MAYBE_CanOpenPopupAndRenderWithWebGLCanvas) {
if (gpu::GPUTestBotConfig::GpuBlacklistedOnBot()) if (gpu::GPUTestBotConfig::GpuBlacklistedOnBot())
return; return;
......
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