mbox

[0/1] taskexp_ncurses: ncurses version of taskexp.py

Message ID cover.1708252029.git.David.Reyna@windriver.com
State Not Applicable, archived
Headers show

Pull-request

ssh://git@push.yoctoproject.org/poky-contrib dreyna/bitbake/taskexp_ncurses_14814

Message

Reyna, David Feb. 18, 2024, 10:41 a.m. UTC
From: David Reyna <David.Reyna@windriver.com>

This is a re-partition of the previous submission. It adds a non-ncurses 
version of the unit test to support ptest and Autobuilder. 

This will specifically request the bitbake dependecy data and do a quick
sanity test of the results. This is the most vulnerable part of the 
integration over releases.

Normal execution example:
  $ bitbake -g -u taskexp_ncurses.py acl zlib 

GUI self-execution unit test example:
  $ TASK_EXP_UNIT_TEST=1 bitbake -g -u taskexp_ncurses quilt

Non-ncurses unit test example::
  $ TASK_EXP_UNIT_TEST_NOTERM=1 bitbake -g -u taskexp_ncurses quilt
  * UNIT TEST:START
  * UNIT TEST:BITBAKE FETCH
  Loading Cache: (0 of 0)
  Bitbake... : (1 of 2)
  Processing recipes: (0 of 914)
  ***************************************
  
  Generating dependency tree: (0 of 3)
  Generating dependency tree: (1 of 3)
  Generating dependency tree: (2 of 3)
  Generating dependency tree: (3 of 3)
  Pass:bitbake dependency count = 11456
  Pass:Quilt-native depends count = 11
  Pass:Quilt-native rdepends count = 351
  Pass:Quilt depends count = 138
  Pass:Quilt rdepends count = 41
  * UNIT TEST:STOP
  $ echo $?
  0
  $
 
 

The following changes since commit a277d1f7a0dc716b497fd855f20cbd6a7d488f8b:

  gstreamer1.0: upgrade 1.22.9 -> 1.22.10 (2024-02-17 18:19:19 +0000)

are available in the Git repository at:

  ssh://git@push.yoctoproject.org/poky-contrib dreyna/bitbake/taskexp_ncurses_14814

David Reyna (1):
  taskexp_ncurses: ncurses version of taskexp.py

 lib/bb/ui/taskexp_ncurses.py | 1511 ++++++++++++++++++++++++++++++++++
 1 file changed, 1511 insertions(+)
 create mode 100755 bitbake/lib/bb/ui/taskexp_ncurses.py