[Lldb-commits] [lldb] [lldb] Add Python requirements.txt for test suite (PR #94220)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 3 06:52:00 PDT 2024
https://github.com/DavidSpickett updated https://github.com/llvm/llvm-project/pull/94220
>From e5a6eca78496e6f5ac67613f1f8368cf24ea1521 Mon Sep 17 00:00:00 2001
From: David Spickett <david.spickett at linaro.org>
Date: Mon, 3 Jun 2024 13:39:16 +0000
Subject: [PATCH 1/2] [lldb] Add Python requirements.txt for test suite
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.
---
lldb/requirements.txt | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 lldb/requirements.txt
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
>From c8bf4bf83e263ea48260c2f737868bd304b48e1f Mon Sep 17 00:00:00 2001
From: David Spickett <david.spickett at linaro.org>
Date: Mon, 3 Jun 2024 13:51:22 +0000
Subject: [PATCH 2/2] move to test folder
---
lldb/{ => test}/requirements.txt | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename lldb/{ => test}/requirements.txt (100%)
diff --git a/lldb/requirements.txt b/lldb/test/requirements.txt
similarity index 100%
rename from lldb/requirements.txt
rename to lldb/test/requirements.txt
More information about the lldb-commits
mailing list