Skip to content

Commit a557c50

Browse files
kmaincentxypron
authored andcommitted
doc: pytest: Complete dependencies list with missing packages
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>
1 parent 6c2f2d9 commit a557c50

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

doc/develop/pytest/usage.rst

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,26 @@ can be installed via the command
3535
pip install -r requirements.txt
3636
3737
In order to execute certain tests on their supported platforms other tools
38-
will be required. The following is an incomplete list:
38+
will be required. The following packages may be needed:
3939

40-
* gdisk
41-
* dfu-util
42-
* dtc
43-
* openssl
44-
* e2fsprogs
45-
* util-linux
40+
* cgpt
4641
* coreutils
42+
* device-tree-compiler
43+
* dfu-util
4744
* dosfstools
45+
* e2fsprogs
4846
* efitools
47+
* fdisk
48+
* gdisk
49+
* libgnutls28-dev / gnutls-devel
4950
* mount
5051
* mtools
52+
* openssl
5153
* sbsigntool
54+
* swig
5255
* udisks2
56+
* util-linux
57+
* vboot-kernel-utils / vboot-utils
5358

5459
Please use the appropriate commands for your distribution to match these tools
5560
up with the package that provides them.
@@ -63,7 +68,7 @@ The test script supports either:
6368
Further details are described later.
6469

6570
The usage of the command ``sudo`` is not allowed in tests. Using elevated
66-
priviledges can lead to security concerns. Furthermore not all users may have
71+
privileges can lead to security concerns. Furthermore not all users may have
6772
administrator rights. Therefore the command ``sudo`` must not be used in tests.
6873
To create disk images we have helper functions located in
6974
``test/py/tests/fs_helper.py`` which shall be used in any tests that require

0 commit comments

Comments
 (0)