[Lldb-commits] [lldb] [lldb] Add Python requirements.txt for test suite (PR #94220)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 3 06:47:51 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: David Spickett (DavidSpickett)

<details>
<summary>Changes</summary>

This means that CI won't have to hardcode these.

We can't do conditional installs here by platform so pexpect is listed normally. If it's installed on Windows that's fine, we just won't use it.

---
Full diff: https://github.com/llvm/llvm-project/pull/94220.diff


1 Files Affected:

- (added) lldb/requirements.txt (+7) 


``````````diff
diff --git a/lldb/requirements.txt b/lldb/requirements.txt
new file mode 100644
index 0000000000000..645004bd3f57c
--- /dev/null
+++ b/lldb/requirements.txt
@@ -0,0 +1,7 @@
+# These Python packages are required to be able to run the LLDB test suite.
+
+psutil
+# pexpect is only required on Linux, can be installed on Windows but pexpect
+# tests are automatically skipped there because they are known not to work
+# (llvm.org/pr22274).
+pexpect

``````````

</details>


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


More information about the lldb-commits mailing list