aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMike Hommey <[email protected]>2024-03-07 13:45:53 +0900
committerGitHub <[email protected]>2024-03-06 20:45:53 -0800
commit5491fc8b2708f80d007a39b86e6b21af90335884 (patch)
tree4d0ac6c8d3a63e86290f86c94ae863f12d631a04
parent74d6b0546576d9ee13a078ed51f87a6eede62014 (diff)
downloadcubeb-5491fc8b2708f80d007a39b86e6b21af90335884.tar.gz
cubeb-5491fc8b2708f80d007a39b86e6b21af90335884.zip
Only build duplex_collection_change_no_unregister when death tests are supported (#780)
-rw-r--r--test/test_duplex.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_duplex.cpp b/test/test_duplex.cpp
index 518f44f..98a6701 100644
--- a/test/test_duplex.cpp
+++ b/test/test_duplex.cpp
@@ -201,6 +201,7 @@ TEST(cubeb, duplex_collection_change)
ASSERT_EQ(r, CUBEB_OK);
}
+#ifdef GTEST_HAS_DEATH_TEST
TEST(cubeb, duplex_collection_change_no_unregister)
{
cubeb * ctx;
@@ -221,6 +222,7 @@ TEST(cubeb, duplex_collection_change_no_unregister)
duplex_collection_change_impl(ctx);
}
+#endif
long
data_cb_input(cubeb_stream * stream, void * user, const void * inputbuffer,