From patchwork Mon Mar 21 20:04:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 64136 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1629853lbc; Mon, 21 Mar 2016 13:12:59 -0700 (PDT) X-Received: by 10.55.74.141 with SMTP id x135mr42396089qka.20.1458591179768; Mon, 21 Mar 2016 13:12:59 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id p199si11552320qhb.90.2016.03.21.13.12.59; Mon, 21 Mar 2016 13:12:59 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 63F5B617E0; Mon, 21 Mar 2016 20:12:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id F241661953; Mon, 21 Mar 2016 20:12:31 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 2D1EA6168D; Mon, 21 Mar 2016 20:11:43 +0000 (UTC) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by lists.linaro.org (Postfix) with ESMTPS id 44D18610F7 for ; Mon, 21 Mar 2016 20:11:41 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id bc4so134642720lbc.2 for ; Mon, 21 Mar 2016 13:11:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xcKOrn9PeJmgRZP3QYyfiHDbXAwXkXMcXVVkWcsowpk=; b=UIzOlXAfJ/GL3a7+YbyADKV7q5SDNjNyUiA9hN1fTtgYNjVEKtuP0FgIkFEUcpOiL6 5HWS4/F8skaUtmfuEyM21Aoo9AbGAECdEyfE/CygCryFiW8wfm/M6yNN9oCV9YiViiUS 5z6Ku+qnm8gnL7RBf2eA08C/uITHs9tI0c8PP1piEMUPfVxnAOMERyV9ji1yaqKlzRak eioX0OA2I8Jm4Mj1HmXi3kcuQff8GjEFtm8xYdRi0aa2rUAkT31rdsVVFxsHnv667vbr JYnfvVIXZd/bkfKt7okdrph872FnT+IJxQV3BGWIkqWwqaEnX7qRXkmpbChZks/k6LMr XtuQ== X-Gm-Message-State: AD7BkJK6qzr5DzVsgpuQhMDs4k65zc2tK3COpk66Wymk8CJCimoc+aKpXTYmpq/3C5+D7hZRGVo= X-Received: by 10.112.97.162 with SMTP id eb2mr11654658lbb.132.1458591100213; Mon, 21 Mar 2016 13:11:40 -0700 (PDT) Received: from localhost (c-932171d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.33.147]) by smtp.gmail.com with ESMTPSA id mi9sm4550461lbc.27.2016.03.21.13.11.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Mar 2016 13:11:39 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Mon, 21 Mar 2016 21:04:39 +0100 Message-Id: <1458590679-31835-1-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1458305959-26825-1-git-send-email-anders.roxell@linaro.org> References: <1458305959-26825-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 11/11] pkg/debian: run tests before creating packages X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Anders Roxell Reviewed-by: Ricardo Salveti --- pkg/debian/rules | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg/debian/rules b/pkg/debian/rules index 663bcdd..c155a5e 100755 --- a/pkg/debian/rules +++ b/pkg/debian/rules @@ -13,6 +13,13 @@ include /usr/share/dpkg/default.mk override_dh_autoreconf: dh_autoreconf ./bootstrap +override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + dh_auto_configure -- --enable-static --enable-test-vald \ + --enable-test-cpp --enable-test-helper + $(MAKE) check +endif + override_dh_auto_configure: dh_auto_configure -- --enable-static