[llvm] 3c4fad6 - [LIT]Accept cat_64 command name on AIX in shtest

Jinsong Ji via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 17 07:06:22 PDT 2021


Author: Jinsong Ji
Date: 2021-08-17T14:05:30Z
New Revision: 3c4fad6a69887311f4e9feeca28126a89f314d45

URL: https://github.com/llvm/llvm-project/commit/3c4fad6a69887311f4e9feeca28126a89f314d45
DIFF: https://github.com/llvm/llvm-project/commit/3c4fad6a69887311f4e9feeca28126a89f314d45.diff

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

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

Reviewed By: #powerpc, shchenz

Differential Revision: https://reviews.llvm.org/D108149

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/utils/lit/tests/shtest-format.py b/llvm/utils/lit/tests/shtest-format.py
index a15c0f9501740..4d8004db267a6 100644
--- a/llvm/utils/lit/tests/shtest-format.py
+++ b/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


        


More information about the llvm-commits mailing list