================
@@ -153,6 +153,13 @@ def create_debug_adapter(
         def cleanup_adapter():
             if adapter.is_alive:
                 adapter.kill()
+            # The debug adapter may have a reason the test failed.
----------------
DrSergei wrote:

As far as I understand this function is called every time, so can we use 
process exit code to determine test failed or not? We use `subprocess` library 
for process creation , so we can check `returncode` property

https://github.com/llvm/llvm-project/pull/208432
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to