summaryrefslogtreecommitdiffstats
path: root/content/browser/media/media_browsertest.cc
diff options
context:
space:
mode:
authorjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-05 04:48:36 +0000
committerjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-05 04:48:36 +0000
commit63ae8b661e04535dc9749bdbc15c5af77cc1e6d3 (patch)
tree2026a9e47cd5ee73659f47638db3aedcb2d04746 /content/browser/media/media_browsertest.cc
parent56f3373a3a5f6feded34b1891fd2b276a00580e3 (diff)
downloadchromium_src-63ae8b661e04535dc9749bdbc15c5af77cc1e6d3.zip
chromium_src-63ae8b661e04535dc9749bdbc15c5af77cc1e6d3.tar.gz
chromium_src-63ae8b661e04535dc9749bdbc15c5af77cc1e6d3.tar.bz2
Disable Media.YUV* tests on MSVS 2012 x64 builds
BUG=180074 R=scherkus@chromium.org,wolenetz@chromium.org Review URL: https://codereview.chromium.org/12381095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186101 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/media/media_browsertest.cc')
-rw-r--r--content/browser/media/media_browsertest.cc23
1 files changed, 15 insertions, 8 deletions
diff --git a/content/browser/media/media_browsertest.cc b/content/browser/media/media_browsertest.cc
index ccdd688..7be3d40 100644
--- a/content/browser/media/media_browsertest.cc
+++ b/content/browser/media/media_browsertest.cc
@@ -15,6 +15,13 @@
#include "content/test/content_browser_test_utils.h"
#include "googleurl/src/gurl.h"
+// TODO(wolenetz): Fix Media.YUV* tests on MSVS 2012 x64. crbug.com/180074
+#if defined(OS_WIN) && defined(ARCH_CPU_X86_64) && _MSC_VER == 1700
+#define MAYBE(x) DISABLED_##x
+#else
+#define MAYBE(x) x
+#endif
+
namespace content {
// Tests playback and seeking of an audio or video file over file or http based
@@ -196,37 +203,37 @@ IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoNoAutoplayTest) {
RunLayoutTest("video-no-autoplay.html");
}
-IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pTheora) {
+IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pTheora)) {
RunColorFormatTest("yuv420p.ogv", "ENDED");
}
-IN_PROC_BROWSER_TEST_F(MediaTest, Yuv422pTheora) {
+IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv422pTheora)) {
RunColorFormatTest("yuv422p.ogv", "ENDED");
}
-IN_PROC_BROWSER_TEST_F(MediaTest, Yuv444pTheora) {
+IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pTheora)) {
// TODO(scherkus): Support YUV444 http://crbug.com/104711
RunColorFormatTest("yuv424p.ogv", "ERROR");
}
-IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pVp8) {
+IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pVp8)) {
RunColorFormatTest("yuv420p.webm", "ENDED");
}
#if defined(GOOGLE_CHROME_BUILD) || defined(USE_PROPRIETARY_CODECS)
-IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pH264) {
+IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pH264)) {
RunColorFormatTest("yuv420p.mp4", "ENDED");
}
-IN_PROC_BROWSER_TEST_F(MediaTest, Yuvj420pH264) {
+IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuvj420pH264)) {
RunColorFormatTest("yuvj420p.mp4", "ENDED");
}
-IN_PROC_BROWSER_TEST_F(MediaTest, Yuv422pH264) {
+IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv422pH264)) {
RunColorFormatTest("yuv422p.mp4", "ENDED");
}
-IN_PROC_BROWSER_TEST_F(MediaTest, Yuv444pH264) {
+IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pH264)) {
// TODO(scherkus): Support YUV444 http://crbug.com/104711
RunColorFormatTest("yuv444p.mp4", "ERROR");
}