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

Side by Side Diff: webrtc/modules/audio_processing/test/debug_dump_test.cc

Issue 1915813002: Disable failing modules_unittests for UBSan. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « webrtc/modules/audio_processing/audio_processing_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 msg->output_channel(0).size()); 255 msg->output_channel(0).size());
256 for (int i = 0; i < msg->output_channel_size(); ++i) { 256 for (int i = 0; i < msg->output_channel_size(); ++i) {
257 ASSERT_EQ(0, memcmp(output->channels()[i], 257 ASSERT_EQ(0, memcmp(output->channels()[i],
258 msg->output_channel(i).data(), 258 msg->output_channel(i).data(),
259 msg->output_channel(i).size())); 259 msg->output_channel(i).size()));
260 } 260 }
261 } 261 }
262 } 262 }
263 } 263 }
264 264
265 // Disabled for UBSan: https://bugs.chromium.org/p/webrtc/issues/detail?id=5820
266 #ifndef UNDEFINED_SANITIZER
265 TEST_F(DebugDumpTest, SimpleCase) { 267 TEST_F(DebugDumpTest, SimpleCase) {
266 Config config; 268 Config config;
267 DebugDumpGenerator generator(config); 269 DebugDumpGenerator generator(config);
268 generator.StartRecording(); 270 generator.StartRecording();
269 generator.Process(100); 271 generator.Process(100);
270 generator.StopRecording(); 272 generator.StopRecording();
271 VerifyDebugDump(generator.dump_file_name()); 273 VerifyDebugDump(generator.dump_file_name());
272 } 274 }
273 275
274 TEST_F(DebugDumpTest, ChangeInputFormat) { 276 TEST_F(DebugDumpTest, ChangeInputFormat) {
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 TEST_F(DebugDumpTest, TransientSuppressionOn) { 520 TEST_F(DebugDumpTest, TransientSuppressionOn) {
519 Config config; 521 Config config;
520 config.Set<ExperimentalNs>(new ExperimentalNs(true)); 522 config.Set<ExperimentalNs>(new ExperimentalNs(true));
521 DebugDumpGenerator generator(config); 523 DebugDumpGenerator generator(config);
522 generator.StartRecording(); 524 generator.StartRecording();
523 generator.Process(100); 525 generator.Process(100);
524 generator.StopRecording(); 526 generator.StopRecording();
525 VerifyDebugDump(generator.dump_file_name()); 527 VerifyDebugDump(generator.dump_file_name());
526 } 528 }
527 529
530 #endif // !UNDEFINED_SANITIZER
531
528 } // namespace test 532 } // namespace test
529 } // namespace webrtc 533 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/audio_processing_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698