[PATCH] D108149: [LIT]Accept cat_64 command name on AIX in shtest

Jinsong Ji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 16 10:54:19 PDT 2021


jsji created this revision.
jsji added reviewers: PowerPC, daltenty, shchenz, hubert.reinterpretcast.
Herald added a subscriber: delcypher.
jsji requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

AIX may use cat_64 for 64 bit cat, this is just update the lit test to accept the name as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108149

Files:
  llvm/utils/lit/tests/shtest-format.py


Index: llvm/utils/lit/tests/shtest-format.py
===================================================================
--- llvm/utils/lit/tests/shtest-format.py
+++ llvm/utils/lit/tests/shtest-format.py
@@ -20,7 +20,7 @@
 # CHECK-NEXT: line 2: failed test output on stdout
 # CHECK: Command Output (stderr):
 # CHECK-NEXT: --
-# CHECK-NEXT: cat{{(\.exe)?}}: {{cannot open does-not-exist|does-not-exist: No such file or directory}}
+# CHECK-NEXT: cat{{(_64)?(\.exe)?}}: {{cannot open does-not-exist|does-not-exist: No such file or directory}}
 # CHECK: --
 
 # CHECK: FAIL: shtest-format :: external_shell/fail_with_bad_encoding.txt


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108149.366675.patch
Type: text/x-patch
Size: 626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210816/8efb323d/attachment.bin>


More information about the llvm-commits mailing list