Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_duplex fails when running with cubeb-pulse-rs #700

Open
ChunMinChang opened this issue Mar 29, 2022 · 0 comments
Open

test_duplex fails when running with cubeb-pulse-rs #700

ChunMinChang opened this issue Mar 29, 2022 · 0 comments

Comments

@ChunMinChang
Copy link
Member

[ RUN      ] cubeb.duplex_collection_change_no_unregister

[WARNING] /home/cm/Work/cubeb/googletest/src/gtest-death-test.cc:789:: Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test couldn't detect the number of threads.
/home/cm/Work/cubeb/test/test_duplex.cpp:202: Failure
Death test: cubeb_destroy(p)
    Result: failed to die.
 Error msg:
[  DEATH   ] 
[  FAILED  ] cubeb.duplex_collection_change_no_unregister (112 ms)

https://users.rust-lang.org/t/how-to-write-a-death-test-in-gtest-for-rust-apis/23575/6

It seems we cannot use death test for rust API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant