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

Improve simulator shutdown behavior for regression tests #202

Open
sgherbst opened this issue Mar 8, 2024 · 0 comments
Open

Improve simulator shutdown behavior for regression tests #202

sgherbst opened this issue Mar 8, 2024 · 0 comments

Comments

@sgherbst
Copy link
Contributor

sgherbst commented Mar 8, 2024

If a simulator binary doesn't exit on its own, it is terminated via atexit. However, this isn't quite enough when running multiple regression tests from a single Python instance, since multiple unused simulator binaries can stack up, slowing things down. Perhaps simulations could be shut down automatically when an SbDut object is deleted. Will have to consider whether there are cases when we want the simulation to keep running even though the SbDut object that started it is gone.

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