After this change, most tests don't have a dependency on Foundation.
Note: To hold the file name tempnam allocates a new buffer. We leak
this buffer (omit the free), but I don't think we need to care.
Paths
| Differential D60591
[TSan][libdispatch] Replace NSTemporaryDirectory in tests ClosedPublic Authored by yln on Apr 11 2019, 4:42 PM.
Details Summary After this change, most tests don't have a dependency on Foundation. Note: To hold the file name tempnam allocates a new buffer. We leak
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 11 2019, 4:42 PM kubamracek added inline comments.
This revision is now accepted and ready to land.Apr 12 2019, 1:03 PM Closed by commit rL358308: [TSan][libdispatch] Replace NSTemporaryDirectory in tests (authored by yln). · Explain WhyApr 12 2019, 1:28 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 194785 compiler-rt/test/tsan/Darwin/gcd-fd.mm
compiler-rt/test/tsan/Darwin/gcd-io-barrier-race.mm
compiler-rt/test/tsan/Darwin/gcd-io-barrier.mm
compiler-rt/test/tsan/Darwin/gcd-io-cleanup.mm
compiler-rt/test/tsan/Darwin/gcd-io-race.mm
compiler-rt/test/tsan/Darwin/gcd-io.mm
|
Do we want to remove this now?