diff options
| author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2024-05-11 16:31:35 +0530 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-21 14:23:43 +0100 |
| commit | fa9689923ff4b4496180886f42813e1e7be3b321 (patch) | |
| tree | d95866414164b23c6d5e4d4e0b49b9dbfd38e1b8 /bitbake/bin | |
| parent | ae0725577dfcfbe3a439c6bebd114f677e4b5081 (diff) | |
| download | poky-fa9689923ff4b4496180886f42813e1e7be3b321.tar.gz | |
bitbake: prserv: add bitbake selftests
Run them with "bitbake-selftest prserv.tests"
(Bitbake rev: 34287fbf3d6be813aa5b767f540e4662f0d8d18d)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Tim Orling <ticotimo@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
| -rwxr-xr-x | bitbake/bin/bitbake-selftest | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake-selftest b/bitbake/bin/bitbake-selftest index f25f23b1ae..ce901232fe 100755 --- a/bitbake/bin/bitbake-selftest +++ b/bitbake/bin/bitbake-selftest | |||
| @@ -15,6 +15,7 @@ import unittest | |||
| 15 | try: | 15 | try: |
| 16 | import bb | 16 | import bb |
| 17 | import hashserv | 17 | import hashserv |
| 18 | import prserv | ||
| 18 | import layerindexlib | 19 | import layerindexlib |
| 19 | except RuntimeError as exc: | 20 | except RuntimeError as exc: |
| 20 | sys.exit(str(exc)) | 21 | sys.exit(str(exc)) |
| @@ -33,6 +34,7 @@ tests = ["bb.tests.codeparser", | |||
| 33 | "bb.tests.utils", | 34 | "bb.tests.utils", |
| 34 | "bb.tests.compression", | 35 | "bb.tests.compression", |
| 35 | "hashserv.tests", | 36 | "hashserv.tests", |
| 37 | "prserv.tests", | ||
| 36 | "layerindexlib.tests.layerindexobj", | 38 | "layerindexlib.tests.layerindexobj", |
| 37 | "layerindexlib.tests.restapi", | 39 | "layerindexlib.tests.restapi", |
| 38 | "layerindexlib.tests.cooker"] | 40 | "layerindexlib.tests.cooker"] |
