[llvm] [llvm-lit][test][NFC] Moved cat command tests into separate lit test file (PR #102366)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 12 00:18:04 PDT 2024


================
@@ -0,0 +1,83 @@
+# Check cat command with single file.
+#
+# RUN: rm -rf %T/testCat
----------------
jh7370 wrote:

As I understand it, the main problem with `%T` is that it isn't unique to the individual test, so you could end up with two tests trying to create `%T/foo.o` and you'd end up with race conditions if the two were run in parallel. The same goes for directories. It may be possible to avoid these name clashes, but in practice, doing so takes more mental power than is really necessary.

https://github.com/llvm/llvm-project/pull/102366


More information about the llvm-commits mailing list