Skip to contentSkip to conversation

utils/test-pkg: return sum of build and legal errors

PATCH Superseded heiko.thiery at gmail.com 3 participants 4 messages Oct 10, 2019 – Oct 28, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 utils/test-pkg: return sum of build and legal errors

From: Heiko Thiery <[email protected]>

---
 utils/test-pkg | 2 ++
 1 file changed, 2 insertions(+)
utils/test-pkg +2 -0
index f3b34d5d0d..a317d8c17a 100755
@@ -138,6 +138,8 @@ main() {
 
     printf "%d builds, %d skipped, %d build failed, %d legal-info failed\n" \
         ${nb} ${nb_skip} ${nb_fail} ${nb_legal}
+
+    return $((nb_fail + nb_legal))
 }
 
 build_one() {
Signature · 1 line
2.20.1
#1 lore raw

PATCH v3 1/1 utils/test-pkg: return sum of build and legal errors

Quoted 6 lines · On Thu, 10 Oct 2019 12:24:26 +0200 heiko.thiery at gmail.com wrote:

From: Heiko Thiery <[email protected]>

---
 utils/test-pkg | 2 ++
 1 file changed, 2 insertions(+)

I reworked the commit title and commit log, and applied to master. Indeed, your commit title was explain *what* is implemented, but not why.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH v3 1/1 utils/test-pkg: return sum of build and legal errors

Quoted 3 lines

I reworked the commit title and commit log, and applied to master. Indeed, your commit title was explain *what* is implemented, but not why.

thank you