doc: pytest: Complete dependencies list with missing packages
authorKory Maincent (TI.com) <kory.maincent@bootlin.com>
Wed, 29 Oct 2025 14:33:44 +0000 (15:33 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 15 Nov 2025 10:34:38 +0000 (11:34 +0100)
Add missing dependencies to the pytest usage documentation and correct
the device tree compiler package name from 'dtc' to 'device-tree-compiler'.

This ensures users have the complete list of dependencies needed to run
the pytest test suite without errors.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Signed-off-by: Kory Maincent (TI.com) <kory.maincent@bootlin.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
doc/develop/pytest/usage.rst

index 596b039..800a032 100644 (file)
@@ -35,21 +35,26 @@ can be installed via the command
    pip install -r requirements.txt
 
 In order to execute certain tests on their supported platforms other tools
-will be required. The following is an incomplete list:
+will be required. The following packages may be needed:
 
-* gdisk
-* dfu-util
-* dtc
-* openssl
-* e2fsprogs
-* util-linux
+* cgpt
 * coreutils
+* device-tree-compiler
+* dfu-util
 * dosfstools
+* e2fsprogs
 * efitools
+* fdisk
+* gdisk
+* libgnutls28-dev / gnutls-devel
 * mount
 * mtools
+* openssl
 * sbsigntool
+* swig
 * udisks2
+* util-linux
+* vboot-kernel-utils / vboot-utils
 
 Please use the appropriate commands for your distribution to match these tools
 up with the package that provides them.
@@ -63,7 +68,7 @@ The test script supports either:
   Further details are described later.
 
 The usage of the command ``sudo`` is not allowed in tests. Using elevated
-priviledges can lead to security concerns. Furthermore not all users may have
+privileges can lead to security concerns. Furthermore not all users may have
 administrator rights. Therefore the command ``sudo`` must not be used in tests.
 To create disk images we have helper functions located in
 ``test/py/tests/fs_helper.py`` which shall be used in any tests that require