Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(661)

Unified Diff: webrtc/media/base/videocommon_unittest.cc

Issue 1727233005: Disable tests failing under UBSan to enable deployment to main waterfall. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Disabled only failing tests instead of blacklisting Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/random_unittest.cc ('k') | webrtc/modules/rtp_rtcp/source/byte_io_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/base/videocommon_unittest.cc
diff --git a/webrtc/media/base/videocommon_unittest.cc b/webrtc/media/base/videocommon_unittest.cc
index 72b828c028ed7cfe347693624122864b2409fc40..84a728b19b14da8b5e45efd3657da7faaac6cf29 100644
--- a/webrtc/media/base/videocommon_unittest.cc
+++ b/webrtc/media/base/videocommon_unittest.cc
@@ -126,7 +126,13 @@ TEST(VideoCommonTest, TestComputeScaleWithLowFps) {
}
// Same as TestComputeScale but with 15 fps instead of 5 fps.
-TEST(VideoCommonTest, TestComputeScaleWithHighFps) {
+// Disabled for UBSan: https://bugs.chromium.org/p/webrtc/issues/detail?id=5487
+#ifdef UNDEFINED_SANITIZER
+#define MAYBE_TestComputeScaleWithHighFps DISABLED_TestComputeScaleWithHighFps
+#else
+#define MAYBE_TestComputeScaleWithHighFps TestComputeScaleWithHighFps
+#endif
+TEST(VideoCommonTest, MAYBE_TestComputeScaleWithHighFps) {
int scaled_width, scaled_height;
// Request small enough but high fps. Expect 1/2 size.
« no previous file with comments | « webrtc/base/random_unittest.cc ('k') | webrtc/modules/rtp_rtcp/source/byte_io_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698