[kde-linux/os-autoinst-distri-kdelinux] /: Add an instruction to README.md for Python unittests

Thomas Duckworth <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 5980ce58fc5d3022836a4f9044982c131a6113a6 by Thomas Duckworth.
Committed on 25/07/2026 at 03:11.
Pushed by tduck into branch 'master'.

Add an instruction to README.md for Python unittests

We consolidated the shared libs into the toplevel lib/ and copy them in
at sysext creation time, so to replicate this locally they need to
be explicitly copied in to the extension's lib/ directory.

M  +5    -0    README.md

https://invent.kde.org/kde-linux/os-autoinst-distri-kdelinux/-/commit/5980ce58fc5d3022836a4f9044982c131a6113a6

diff --git a/README.md b/README.md
index 3414afa..31d2b0c 100644
--- a/README.md
+++ b/README.md
@@ -157,6 +157,11 @@ source ./venv/bin/activate
 pip3 install -r ./requirements.txt
 ```
 
+Copy the required shared Python libs from the toplevel repo into the sysext:
+```
+find -L "$(git rev-parse --show-toplevel)/lib" -maxdepth 1 -type f -exec cp -f {} ./lib/ \;
+```
+
 As root, create required directories that the tests will output files to:
 ```
 mkdir -p /var/log/kde-linux-openqa
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.