[Lldb-commits] [lldb] [lldb][test] Make expect_expr/var_path non-fatal by default (PR #208713)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 10 05:50:15 PDT 2026


================
@@ -27,7 +27,9 @@ def test(self):
             result_children=[ValueCheck(name="pointer")],
         )
         self.expect_expr("s->a", result_type="int", result_value="3")
-        self.expect_expr("s->a = 5", result_type="int", result_value="5")
+        self.expect_expr(
----------------
charles-zablit wrote:

In all the similar tests, why do we stop_on_fail here and not at the last `self.expect` ? I assume it's because if the assignment fails, the rest will fail as well?

https://github.com/llvm/llvm-project/pull/208713


More information about the lldb-commits mailing list