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

stalled program run with --gtest_list_tests never recovers #136

Closed
pavelstudeny opened this issue Apr 28, 2017 · 2 comments
Closed

stalled program run with --gtest_list_tests never recovers #136

pavelstudeny opened this issue Apr 28, 2017 · 2 comments

Comments

@pavelstudeny
Copy link

It seems that GoogleTestAdapter finds tests by running executables in the Visual Studio output directory with a --gtest_list_tests.

When that program stalls/freezes/takes a long time to execute, e.g. when it ignores an unknown option such as --gtest_list_test, there is no recovery and the linker cannot write to those executables and the dlls they load anymore, until the process is killed by a task manager or so.

@jgefele
Copy link
Collaborator

jgefele commented Apr 28, 2017

Hello and thank you for your feedback.

We have added a timeout for test discovery here: "Cancel test discovery process after timeout" #90.
However, this improvement has not yet been released. You can either wait for the 0.10.0 to be released or try a recent build of the development branch.

You can also modify the test executable regex to exclude certain executables from test discovery.

@pavelstudeny
Copy link
Author

Thanks, i guess i can close this as a duplicate of #90. Until 0.10 gets released, the regex seems to be a feasible solution.

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

No branches or pull requests

3 participants