[Lldb-commits] [lldb] b5657d1 - Fix 34885bffdf43920c0f011e17a65fd678100240dd

Walter Erquinigo via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 15 16:36:43 PDT 2021


Author: Walter Erquinigo
Date: 2021-03-15T16:36:32-07:00
New Revision: b5657d1fbf77fc59d4c11476464547d850d9f48a

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

LOG: Fix 34885bffdf43920c0f011e17a65fd678100240dd

It failed https://lab.llvm.org/buildbot/#/builders/17/builds/5262 and
the fix is simply to relax a regex expression in a test.

Added: 
    

Modified: 
    lldb/test/API/tools/lldb-vscode/evaluate/TestVSCode_evaluate.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-vscode/evaluate/TestVSCode_evaluate.py b/lldb/test/API/tools/lldb-vscode/evaluate/TestVSCode_evaluate.py
index f496073d1b6d..c0ccd2ef43be 100644
--- a/lldb/test/API/tools/lldb-vscode/evaluate/TestVSCode_evaluate.py
+++ b/lldb/test/API/tools/lldb-vscode/evaluate/TestVSCode_evaluate.py
@@ -61,12 +61,12 @@ def run_test_evaluate_expressions(self, context=None):
         if self.isExpressionParsedExpected():
             self.assertEvaluate(
                 "a_function",
-                "0x.* \(a.out`a_function\(int\) at main.cpp:7\)")
+                "0x.*a.out`a_function.*")
             self.assertEvaluate("a_function(1)", "1")
             self.assertEvaluate("var2 + struct1.foo", "36")
             self.assertEvaluate(
                 "foo_func",
-                "0x.* \(a.out`foo_func\(\) at foo.cpp:3\)")
+                "0x.*a.out`foo_func.*")
             self.assertEvaluate("foo_var", "44")
         else:
             self.assertEvaluateFailure("a_function")
@@ -88,12 +88,12 @@ def run_test_evaluate_expressions(self, context=None):
         if self.isExpressionParsedExpected():
             self.assertEvaluate(
                 "a_function",
-                "0x.* \(a.out`a_function\(int\) at main.cpp:7\)")
+                "0x.*a.out`a_function.*")
             self.assertEvaluate("a_function(1)", "1")
             self.assertEvaluate("var2 + struct1.foo", "17")
             self.assertEvaluate(
                 "foo_func",
-                "0x.* \(a.out`foo_func\(\) at foo.cpp:3\)")
+                "0x.*a.out`foo_func.*")
             self.assertEvaluate("foo_var", "44")
         else:
             self.assertEvaluateFailure("a_function")
@@ -118,12 +118,12 @@ def run_test_evaluate_expressions(self, context=None):
         if self.isExpressionParsedExpected():
             self.assertEvaluate(
                 "a_function",
-                "0x.* \(a.out`a_function\(int\) at main.cpp:7\)")
+                "0x.*a.out`a_function.*")
             self.assertEvaluate("a_function(1)", "1")
             self.assertEvaluate("var + 1", "43")
             self.assertEvaluate(
                 "foo_func",
-                "0x.* \(a.out`foo_func\(\) at foo.cpp:3\)")
+                "0x.*a.out`foo_func.*")
             self.assertEvaluate("foo_var", "44")
         else:
             self.assertEvaluateFailure("a_function")


        


More information about the lldb-commits mailing list