Author: Med Ismail Bennani Date: 2026-02-25T15:54:15-08:00 New Revision: dff87d37607dca7865fa4eeeafa1e4208dd9a1ca
URL: https://github.com/llvm/llvm-project/commit/dff87d37607dca7865fa4eeeafa1e4208dd9a1ca DIFF: https://github.com/llvm/llvm-project/commit/dff87d37607dca7865fa4eeeafa1e4208dd9a1ca.diff LOG: Revert "[lldb/test] Fix tests reading log from remote platform instead of hos…" This reverts commit b3ec476c702a1cd8ada8686a2be4fed7cccf81ef. Added: Modified: lldb/test/API/lang/objc/failing-description/TestObjCFailingDescription.py lldb/test/API/lang/objc/struct-description/TestObjCStructDescription.py Removed: ################################################################################ diff --git a/lldb/test/API/lang/objc/failing-description/TestObjCFailingDescription.py b/lldb/test/API/lang/objc/failing-description/TestObjCFailingDescription.py index 556fa8a6d4be9..2c32901452fb9 100644 --- a/lldb/test/API/lang/objc/failing-description/TestObjCFailingDescription.py +++ b/lldb/test/API/lang/objc/failing-description/TestObjCFailingDescription.py @@ -17,7 +17,7 @@ def test(self): substrs=["`po` was unsuccessful, running `p` instead\n", "(Bad *) 0x"], ) self.filecheck( - f"platform shell -h -- cat {log}", __file__, f"-check-prefix=CHECK-EXPR" + f"platform shell cat {log}", __file__, f"-check-prefix=CHECK-EXPR" ) # CHECK-EXPR: Object description fallback due to error: could not evaluate print object function: expression interrupted @@ -26,8 +26,6 @@ def test(self): substrs=["`po` was unsuccessful, running `p` instead\n", "_lookHere = NO"], ) self.filecheck( - f"platform shell -h -- cat {log}", - __file__, - f"-check-prefix=CHECK-DWIM-PRINT", + f"platform shell cat {log}", __file__, f"-check-prefix=CHECK-DWIM-PRINT" ) # CHECK-DWIM-PRINT: Object description fallback due to error: could not evaluate print object function: expression interrupted diff --git a/lldb/test/API/lang/objc/struct-description/TestObjCStructDescription.py b/lldb/test/API/lang/objc/struct-description/TestObjCStructDescription.py index d0162afd4595e..b6dc7637b45eb 100644 --- a/lldb/test/API/lang/objc/struct-description/TestObjCStructDescription.py +++ b/lldb/test/API/lang/objc/struct-description/TestObjCStructDescription.py @@ -19,9 +19,7 @@ def test(self): "(Pair) pair = (f = 2, e = 3)", ], ) - self.filecheck( - f"platform shel -h -- cat {log}", __file__, f"-check-prefix=CHECK-VO" - ) + self.filecheck(f"platform shell cat {log}", __file__, f"-check-prefix=CHECK-VO") # CHECK-VO: Object description fallback due to error: not a pointer type self.expect( @@ -32,6 +30,6 @@ def test(self): ], ) self.filecheck( - f"platform shel -h -- cat {log}", __file__, f"-check-prefix=CHECK-EXPR" + f"platform shell cat {log}", __file__, f"-check-prefix=CHECK-EXPR" ) # CHECK-EXPR: Object description fallback due to error: not a pointer type _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
