Use os.devnull instead of tempfiles when substituting '/dev/null' on Windows machines. This should make the bots just a bit speedier.
I'd appreciate it if someone could test this patch on Windows -- I don't have access to it.
Paths
| Differential D20549
[lit] Use os.devnull instead of named temp files ClosedPublic Authored by vsk on May 23 2016, 6:22 PM.
Details Summary Use os.devnull instead of tempfiles when substituting '/dev/null' on Windows machines. This should make the bots just a bit speedier. I'd appreciate it if someone could test this patch on Windows -- I don't have access to it.
Diff Detail
Event Timelinevsk updated this object. Comment Actions Hi, sorry for the delay. Comment Actions @ygao thanks! I'll leave this up for another day before committing. I'll work through any post-commit feedback as it comes. Closed by commit rL272290: [lit] Use os.devnull instead of named temp files (authored by vedantk). · Explain WhyJun 9 2016, 11:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 60219 llvm/trunk/utils/lit/lit/TestRunner.py
|