-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[llvm-exegesis] Make SubprocessMemoryTest use PIDs #65245
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
[llvm-exegesis] Make SubprocessMemoryTest use PIDs #65245
Conversation
This patch makes SubprocessMemoryTest use process PIDs during creation of the SubprocessMemory objects within the tests so that there isn't interference between multiple instances of the test running at the same time which could potentially occur in multi-user environments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM
Hi, on AIX there is the error:
https://lab.llvm.org/buildbot/#/builders/214/builds/9384 Looks like the variable should be guarded too? |
Attempted to fix that here: 7b3f6e6 |
This patch makes SubprocessMemoryTest use process PIDs during creation of the SubprocessMemory objects within the tests so that there isn't interference between multiple instances of the test running at the same time which could potentially occur in multi-user environments.
This is a continuation the review in https://reviews.llvm.org/D154680.