[llvm] [llvm-lit][test] Adding tests for lit's built-in cat command (PR #101530)

Paul Kirth via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 11:19:37 PDT 2024


================
@@ -0,0 +1,12 @@
+# RUN: cat -e %S/txt-files/newline | FileCheck %s
----------------
ilovepi wrote:

Does this need to be its own file? I understand you're separating out the `-e` behaviors, but maybe we should either group all of the tests based on their flags (e.g. one test file for `cat`, `cat -v`, and `cat -e`), or group them on per-file behavior (e.g. one test for `newlines`, one for `allchars`, etc.). I feel like thats likely to reduce duplication.

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


More information about the llvm-commits mailing list