microsoft / STL

MSVC's implementation of the C++ Standard Library.
Other
10.07k stars 1.48k forks source link

Improve `P0218R1_filesystem` test reliability and temp filename generation #4665

Closed StephanTLavavej closed 4 months ago

StephanTLavavej commented 4 months ago

Making an exception to our usual rule of "we don't spend a lot of effort on cleaning up tests that are well-behaved, because it's low reward and risks disrupting what they were trying to test". I had to investigate why P0218R1_filesystem was behaving slightly flaky, and I ended up making a bunch of targeted improvements.

StephanTLavavej commented 4 months ago

I'm speculatively mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.