royitaqi wrote: # Tests that I did
## Manual test ``` username-mac ~/public_llvm/build % bin/lldb (lldb) script Python Interactive Interpreter. To exit, type 'quit()', 'exit()' or Ctrl-D. >>> lldb.debugger.AddDestroyCallback(lambda user_id: print('foo %s' % user_id)) >>> lldb.debugger.AddDestroyCallback(lambda user_id: print('bar %s' % user_id)) >>> ^D now exiting InteractiveConsole... (lldb) ^D foo 1 bar 1 username-mac ~/public_llvm/build % ``` ## Run the added unit tests username-mac ~/public_llvm/build % bin/llvm-lit -sv /Users/username/public_llvm/llvm-project/lldb/test/API/python_api/debugger/TestDebuggerAPI.py llvm-lit: /Users/username/public_llvm/llvm-project/lldb/test/API/lit.cfg.py:175: warning: Could not set a default per-test timeout. Requires the Python psutil module but it could not be found. Try installing it via pip or via your operating system's package manager. llvm-lit: /Users/username/public_llvm/llvm-project/lldb/test/API/lit.cfg.py:113: note: Deleting module cache at /Users/username/public_llvm/build/lldb-test-build.noindex/module-cache-lldb/lldb-api. Testing Time: 1.97s Total Discovered Tests: 1 Passed: 1 (100.00%) 1 warning(s) in tests username-mac ~/public_llvm/build % ``` https://github.com/llvm/llvm-project/pull/89868 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits