Skip to contentSkip to conversation

Add bitbake-extra-tests to cover taskexp ncurses UI.

PATCH New Richard Purdie 1 participant 1 message Feb 18, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add bitbake-extra-tests to cover taskexp ncurses UI.

---
 config.json                 |  4 ++++
 scripts/bitbake-extra-tests | 14 ++++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100755 scripts/bitbake-extra-tests
config.json +4 -0
index 3032fd7..3a2ab49 100644
@@ -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
new file mode 100755
index 0000000..39f248d
@@ -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