From patchwork Fri Jun 10 15:00:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 69788 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp344221qgf; Fri, 10 Jun 2016 08:09:34 -0700 (PDT) X-Received: by 10.140.242.150 with SMTP id n144mr2491083qhc.2.1465571374650; Fri, 10 Jun 2016 08:09:34 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id l62si6517827qhl.35.2016.06.10.08.09.34; Fri, 10 Jun 2016 08:09:34 -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; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 455106813D; Fri, 10 Jun 2016 15:09:34 +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 C796661757; Fri, 10 Jun 2016 15:09:30 +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 79B4C6813A; Fri, 10 Jun 2016 15:09:29 +0000 (UTC) Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by lists.linaro.org (Postfix) with ESMTPS id 0E4DB610E1 for ; Fri, 10 Jun 2016 15:09:27 +0000 (UTC) Received: by mail-lf0-f54.google.com with SMTP id q132so10263646lfe.3 for ; Fri, 10 Jun 2016 08:09:26 -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; bh=jhA1jwJ0np9isXpU6hx4lAsFaU3+IxlFQRBEQF/TffM=; b=F3uJm7ExsaYqfk8Dj6mR4DZG0pwQlkaFl9+3nE/BUWI3J9YcK4bbDUa1oISJoL2uix sjDJnrl722rlcQlycPH8Lion1gEpW+ycjeuoDppHFlN9mUx/eaPU0/eSJMf6Kesasuyv k2pTEJ0udhNLnWbdrmQFv+a/7+rYijaUpLQ7kgNUbYVQqYfBhMQjtv2U/61JdWkZwY/7 kUdGa2Qpp8nz+sTW9mBjYHVp8DiruEGAB4khZp2x0bzTjUfcDWocgy5fTsP1rMYPMCa+ ygh5ulc5dC4Wn9pgkMv2y+4pA8HliHvFINCkbaEp7uFL/3iF23xaQnez08ZgJnKfLYl7 ILZA== X-Gm-Message-State: ALyK8tLKV8hsK/4WK39h4PTlEB4K1iAcydpWctf5e3ygyzdBLx7UCJITXNFfDTUy7lV2i0OMTOQ= X-Received: by 10.46.71.194 with SMTP id u185mr777245lja.17.1465571365672; Fri, 10 Jun 2016 08:09:25 -0700 (PDT) Received: from localhost (c-c82171d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.33.200]) by smtp.gmail.com with ESMTPSA id v3sm1286025lbq.21.2016.06.10.08.09.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Jun 2016 08:09:24 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Fri, 10 Jun 2016 17:00:19 +0200 Message-Id: <1465570819-4200-1-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 X-Topics: timers patch Subject: [lng-odp] [PATCH] example/timer: don't run test if configure flag not set 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 --- example/timer/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example/timer/Makefile.am b/example/timer/Makefile.am index 1c733d3..edb8b2c 100644 --- a/example/timer/Makefile.am +++ b/example/timer/Makefile.am @@ -10,7 +10,9 @@ odp_timer_simple_LDFLAGS = $(AM_LDFLAGS) -static odp_timer_simple_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/example dist_odp_timer_simple_SOURCES = odp_timer_simple.c +if test_example TESTS = odp_timer_simple +endif noinst_HEADERS = \ $(top_srcdir)/example/example_debug.h