Skip to content

Commit

Permalink
Only build duplex_collection_change_no_unregister when death tests ar…
Browse files Browse the repository at this point in the history
…e supported (#780)
  • Loading branch information
glandium authored Mar 7, 2024
1 parent 74d6b05 commit 5491fc8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_duplex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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,
Expand Down

0 comments on commit 5491fc8

Please sign in to comment.