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
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)
23 @@ -221,6 +222,7 @@ TEST(cubeb, duplex_collection_change_no_unregister)
25 duplex_collection_change_impl(ctx);
30 data_cb_input(cubeb_stream * stream, void * user, const void * inputbuffer,