[libc++] Make sure tests are run in a unique directory
authorLouis Dionne <ldionne@apple.com>
Wed, 10 Jun 2020 18:11:25 +0000 (14:11 -0400)
committerLouis Dionne <ldionne@apple.com>
Wed, 10 Jun 2020 20:19:10 +0000 (16:19 -0400)
commit4e813bbdf335626a741398314709a535ef52fe8e
treeca8c9f7b1046424f8ef1fc1609f1141a66148fb3
parent09d325b20c7da2c4c4b518ff2d57b70e69be2874
[libc++] Make sure tests are run in a unique directory

This will allow simplifying executors by always just copying the whole
%T, and assuming that all file dependencies are contained in it.

Superseeds https://reviews.llvm.org/D78245, which tried to make %T unique
in Lit, but which encountered push back.
libcxx/test/libcxx/selftest/newformat/tmpdir-exists.sh.cpp [new file with mode: 0644]
libcxx/utils/libcxx/test/dsl.py
libcxx/utils/libcxx/test/newformat.py