[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:20:27 PDT 2024
================
@@ -17,4 +17,8 @@
# CHECK: # | [Errno 2] No such file or directory: 'temp1.txt'
# CHECK: # error: command failed with exit status: 1
-# CHECK: PASS: shtest-cat :: cat.txt ({{[^)]*}})
\ No newline at end of file
+# CHECK: PASS: shtest-cat :: cat.txt ({{[^)]*}})
+
+# CHECK: Total Discovered Tests: 3
+# CHECK: Passed: 1 {{\([0-9]*\.[0-9]*%\)}}
+# CHECK: Failed: 2 {{\([0-9]*\.[0-9]*%\)}}
----------------
jh7370 wrote:
Can a combination of `CHECK-NEXT` and/or `CHECK-EMPTY` be used in this test file? This helps with diagnosing issues, if the match fails.
https://github.com/llvm/llvm-project/pull/102366
More information about the llvm-commits
mailing list