diff mbox series

taskexp_ncurses: update tests for new spdx tasks

Message ID 20260313-mathieu-taskexp-spdx-fix-v1-1-9b149e680330@bootlin.com
State New
Headers show
Series taskexp_ncurses: update tests for new spdx tasks | expand

Commit Message

Mathieu Dubois-Briand March 13, 2026, 3:12 p.m. UTC
Some new tasks have been added to handled SPDX 3.0 [1], changing a bit
the test output: some small changes are needed to account for these
changes.

[1]: https://lore.kernel.org/all/20260220154123.376880-1-JPEWhacker@gmail.com/

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
---
Fix the extra bitbake tests, such as [1]. We need to wait until the
Joshua SPDX series is merged before merging this.

[1]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/3388/steps/22/logs/stdio
---
 lib/bb/ui/taskexp_ncurses.py | 3 +++
 1 file changed, 3 insertions(+)


---
base-commit: b59bdcf8134e6f5935e8f7b0ed8033cbb745e0ff
change-id: 20260313-mathieu-taskexp-spdx-fix-ee5ae0d9e425

Best regards,
diff mbox series

Patch

diff --git a/lib/bb/ui/taskexp_ncurses.py b/lib/bb/ui/taskexp_ncurses.py
index ea94a4987f97..551ad142a2a7 100755
--- a/lib/bb/ui/taskexp_ncurses.py
+++ b/lib/bb/ui/taskexp_ncurses.py
@@ -146,6 +146,9 @@  def debug_frame(nbox_ojb):
 unit_test = os.environ.get('TASK_EXP_UNIT_TEST')
 unit_test_cmnds=[
     '# Default selected task in primary box',
+    'tst_selected=<TASK>.do_create_recipe_spdx',
+    '# Move to next entry, more predictable',
+    'tst_entry=<DOWN>',  # optional injected error
     'tst_selected=<TASK>.do_recipe_qa',
     '# Default selected task in deps',
     'tst_entry=<TAB>',