Add bitbake-extra-tests to cover taskexp ncurses UI.
PATCH 1/1 Add bitbake-extra-tests to cover taskexp ncurses UI.
Signed-off-by Richard Purdie <[email protected]>
--- config.json | 4 ++++ scripts/bitbake-extra-tests | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100755 scripts/bitbake-extra-tests
config.json +4 -0
@@ -276,6 +276,10 @@ "step4" : { "shortname" : "OEQA core tests", "EXTRACMDS" : ["oe-test core"] + }, + "step5" : { + "shortname" : "Bitbake extra tests", + "EXTRACMDS" : ["${SCRIPTSDIR}/bitbake-extra-tests"] } }, "reproducible" : {
scripts/bitbake-extra-tests new file +14 -0
@@ -0,0 +1,14 @@ +#!/bin/bash +TASK_EXP_UNIT_TEST=1 bitbake -g -u taskexp_ncurses zlib acl +if [ $? -ne 0 ]; then + exit 1 +fi +TASK_EXP_UNIT_TEST=1 bitbake -g -u taskexp_ncurses zlib acl foo +if [ $? -ne 1 ]; then + exit 1 +fi +TASK_EXP_UNIT_TEST_NOTERM=1 bitbake -g -u taskexp_ncurses quilt +if [ $? -ne 0 ]; then + exit 1 +fi +
Signature · 1 line
2.40.1