Bug 1879774 [wpt PR 44524] - WebKit export: Implement field-sizing support for input...
[gecko.git] / media / libcubeb / 0002-disable-crash-reporter-death-test.patch
blobb1217ba49d93c07e86f970089c9dc3a8aa1d7bd3
1 diff --git a/test/test_duplex.cpp b/test/test_duplex.cpp
2 --- a/test/test_duplex.cpp
3 +++ b/test/test_duplex.cpp
4 @@ -13,16 +13,18 @@
5 #endif
6 #include "cubeb/cubeb.h"
7 #include <atomic>
8 #include <math.h>
9 #include <memory>
10 #include <stdio.h>
11 #include <stdlib.h>
13 +#include "mozilla/gtest/MozHelpers.h"
15 // #define ENABLE_NORMAL_LOG
16 // #define ENABLE_VERBOSE_LOG
17 #include "common.h"
19 #define SAMPLE_FREQUENCY 48000
20 #define STREAM_FORMAT CUBEB_SAMPLE_FLOAT32LE
21 #define INPUT_CHANNELS 1
22 #define INPUT_LAYOUT CUBEB_LAYOUT_MONO
23 @@ -201,16 +203,18 @@ TEST(cubeb, duplex_collection_change)
24 ASSERT_EQ(r, CUBEB_OK);
27 TEST(cubeb, duplex_collection_change_no_unregister)
29 cubeb * ctx;
30 int r;
32 + mozilla::gtest::DisableCrashReporter();
34 r = common_init(&ctx, "Cubeb duplex example with collection change");
35 ASSERT_EQ(r, CUBEB_OK) << "Error initializing cubeb library";
37 /* This test needs an available input device, skip it if this host does not
38 * have one. */
39 if (!can_run_audio_input_test(ctx)) {
40 cubeb_destroy(ctx);
41 return;