From patchwork Thu Oct 10 10:24:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1174395 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="JKKtIDUq"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46pnJV1SZSz9sDQ for ; Thu, 10 Oct 2019 21:24:42 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 87A23885AD; Thu, 10 Oct 2019 10:24:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MP-9dS0LWHgD; Thu, 10 Oct 2019 10:24:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 14898885AE; Thu, 10 Oct 2019 10:24:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E93091BF3A1 for ; Thu, 10 Oct 2019 10:24:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E35EB234BD for ; Thu, 10 Oct 2019 10:24:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sXnPQxWgCsuY for ; Thu, 10 Oct 2019 10:24:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by silver.osuosl.org (Postfix) with ESMTPS id D060B20449 for ; Thu, 10 Oct 2019 10:24:36 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id b9so7214399wrs.0 for ; Thu, 10 Oct 2019 03:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LVzj0xGwwfpl9cJXEUAbkL7JFgzBrMZrfqYuv7p3MUs=; b=JKKtIDUqEprePkOU6nE5PHwSYSqF9NcKfNUwE3AIhO09zg5PNDByVTpHZ9ikeoH7r0 COI0RDHKW6ckcfITbNHo/1HMZAs4WuEZ0firuEoXQJhhM8x2TdyOGUi1cc+eH8Z9PJoA nO0RrJbRgTgqkUHqrXRPughX3eW1CxgglTPD+NyPVL5aF0zdafI6LPUe5HiTw24xSRdq ANsWuzJdgDN0YWwlZlmPQu7hAGlsG3qdyx16y792dgfAWB+sTDBvxuyvPSfPVCSTj23E 4Aq/8T10+2BBV1O76+YijtG1ScmNS4Gkv+uQ5/8OMSgEvFdK5kht477rrmjVVxkYeOu5 pRqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LVzj0xGwwfpl9cJXEUAbkL7JFgzBrMZrfqYuv7p3MUs=; b=dzsF97zIXzid8k7ADY+/y2uYDY/umvQ8QpqI76Yjax4MDKmDq5p5U67xCTi3ydaKzk y7mzUVU0yVT82I8FHgTIr1gqVO6fHSCwkZ6LqOI7zVDRkkk3cIdQu/skGhnKjm1lGY1M WQUhOgAhEKy6d80jD962Y9cpG6UeheosIGhn7XgqhT+QJHxuM4WDsjnx7vlgQKszb/fN RU2N/UMOSo/hzEteV7C1r1jH6Bxio8bS+18xkJw6x8Yddb0SwMd/Hy2ZKKz6D0aBxTCh MexaU3MSSgapKxWvQGLa+o4SuqGkzi9Sm2DRmIQ3tp2akAYGV+JT4BqCZUL8/rFwiv3P SDjA== X-Gm-Message-State: APjAAAX77hrXys7vQaT8QAojrx0a1dXAhy5eSW9mNKKDqTmUPQID5rpP 6ArknRODgrioA4PwyUggsZ2b8ARIKeI= X-Google-Smtp-Source: APXvYqw5xhNMgQyKf5QRPC7beBZRstpbE84yXQkVQkZutnHko5Y6isnF0T85B0QbRL+wTBiHslgQEg== X-Received: by 2002:a05:6000:12cd:: with SMTP id l13mr7733612wrx.344.1570703074707; Thu, 10 Oct 2019 03:24:34 -0700 (PDT) Received: from hthiery01.sab.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id l18sm4537809wrc.18.2019.10.10.03.24.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2019 03:24:33 -0700 (PDT) From: heiko.thiery@gmail.com To: buildroot@buildroot.org Date: Thu, 10 Oct 2019 12:24:26 +0200 Message-Id: <20191010102426.5452-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3] utils/test-pkg: return sum of build and legal errors X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: heiko.thiery@gmail.com, yann.morin@orange.com, Heiko Thiery , thomas.petazzoni@bootlin.com Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Heiko Thiery Signed-off-by: Heiko Thiery --- utils/test-pkg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/test-pkg b/utils/test-pkg index f3b34d5d0d..a317d8c17a 100755 --- a/utils/test-pkg +++ b/utils/test-pkg @@ -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() {