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
6 #include "cubeb/cubeb.h"
13 +#include "mozilla/gtest/MozHelpers.h"
15 // #define ENABLE_NORMAL_LOG
16 // #define ENABLE_VERBOSE_LOG
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)
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
39 if (!can_run_audio_input_test(ctx)) {