-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
tools: remove unneeded temp directory handling #6094
Conversation
This was discussed in #3325 . In |
@Trott: can you point me to where it's happening? Afaik its only the thread folders, not the actual dir the thread folders lives in. |
No, but I can add one as part of this PR, and then see how review of this PR goes. (I assume there's general support for reducing the amount of Python code we rely on in exchange for more JavaScript code, all other things being equal.) |
The handling of temp directory creation happens in common.js now so there is no need to test the creation of the temp directory in test.py.
@joaocgreis OK,
PTAL |
@jbergstroem If I'm understanding your question correctly, the |
That is not my opinion. Even if our test runner is somewhat confusing (to be nice), I like having something very stable to run the tests, because the node executable we test can be somewhere between release quality and completely broken. |
@Trott yes, but that also assumes that the parent directory exists. I actually used that same code path in a prior version of the patch but it ended up being much cleaner when implemented in Edit: didn't see your patch. I'm kind of "if it works..." with this to be honest. Happy to replace |
Sounds like there's support for simplifying/improving/replacing |
Checklist
Affected core subsystem(s)
test tools
Description of change
The handling of temp directory creation happens in common.js now so
there is no need to test the creation of the temp directory in test.py.