[llvm] [lit] Move pipefail test into lit tests (PR #157223)

Paul Kirth via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 6 16:07:51 PDT 2025


================
@@ -1,6 +1,7 @@
 # Check the internal shell handling component of the ShTest format.
 
 # RUN: not %{lit} -v %{inputs}/shtest-shell > %t.out
+# RUN: cat %t.out > /tmp/test
----------------
ilovepi wrote:

Why are we redirecting to a file in `/tmp`? wouldn't it be just as good to use `%t.pipefail` or something?

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


More information about the llvm-commits mailing list