Bug 1876318 - migrate firefox-android release promotion. r=bhearsum,releng-reviewers
[gecko.git] / media / libcubeb / 0003-Only-build-duplex_collection_change_no_unregister-wh.patch
blob5d5a9548537d78f88d1b344117b6c114d613dca1
1 From 68ef0eb5691aa7b9d634b4d1af85f9d66fdfc06e Mon Sep 17 00:00:00 2001
2 From: Mike Hommey <mh@glandium.org>
3 Date: Thu, 7 Mar 2024 08:01:32 +0900
4 Subject: [PATCH] Only build duplex_collection_change_no_unregister when death
5 tests are supported
7 ---
8 test/test_duplex.cpp | 2 ++
9 1 file changed, 2 insertions(+)
11 diff --git a/test/test_duplex.cpp b/test/test_duplex.cpp
12 index 518f44f..98a6701 100644
13 --- a/test/test_duplex.cpp
14 +++ b/test/test_duplex.cpp
15 @@ -201,6 +201,7 @@ TEST(cubeb, duplex_collection_change)
16 ASSERT_EQ(r, CUBEB_OK);
19 +#ifdef GTEST_HAS_DEATH_TEST
20 TEST(cubeb, duplex_collection_change_no_unregister)
22 cubeb * ctx;
23 @@ -221,6 +222,7 @@ TEST(cubeb, duplex_collection_change_no_unregister)
25 duplex_collection_change_impl(ctx);
27 +#endif
29 long
30 data_cb_input(cubeb_stream * stream, void * user, const void * inputbuffer,
31 --
32 2.44.0.1.g9765aa7075