[llvm] 1135d36 - [AIX] [lit] Fix shtest-format.py to account for behaviour on AIX (#121426)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 1 10:34:31 PST 2025
Author: Mark Danial
Date: 2025-01-01T13:34:28-05:00
New Revision: 1135d36f869541f14934471e255c6e2631d6eebe
URL: https://github.com/llvm/llvm-project/commit/1135d36f869541f14934471e255c6e2631d6eebe
DIFF: https://github.com/llvm/llvm-project/commit/1135d36f869541f14934471e255c6e2631d6eebe.diff
LOG: [AIX] [lit] Fix shtest-format.py to account for behaviour on AIX (#121426)
The changes from https://github.com/llvm/llvm-project/pull/121376 has
broken the ppc64 aix bot:
https://lab.llvm.org/buildbot/#/builders/64/builds/1835. Adjusted the
testcase to account for `cat` behaviour on AIX prior to the changes
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 d58973993b272a..fda3ef52e8043b 100644
--- a/llvm/utils/lit/tests/shtest-format.py
+++ b/llvm/utils/lit/tests/shtest-format.py
@@ -18,7 +18,7 @@
# CHECK: Command Output (stderr):
# CHECK-NEXT: --
# CHECK-NOT: --
-# CHECK: cat{{(_64)?(\.exe)?}}: {{.*does-not-exist.*}}: No such file or directory
+# CHECK: 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