From patchwork Wed Oct 28 19:29:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stuart Haslam X-Patchwork-Id: 55715 Delivered-To: patch@linaro.org Received: by 10.112.61.134 with SMTP id p6csp137883lbr; Wed, 28 Oct 2015 12:33:18 -0700 (PDT) X-Received: by 10.140.100.240 with SMTP id s103mr57890166qge.25.1446060798432; Wed, 28 Oct 2015 12:33:18 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id o186si43456354qhb.25.2015.10.28.12.33.18; Wed, 28 Oct 2015 12:33:18 -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; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: by lists.linaro.org (Postfix, from userid 109) id 0C39361FF1; Wed, 28 Oct 2015 19:33:18 +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.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID, 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 95EAF61A06; Wed, 28 Oct 2015 19:30:11 +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 D5A1561FE0; Wed, 28 Oct 2015 19:30:07 +0000 (UTC) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by lists.linaro.org (Postfix) with ESMTPS id DF9F161FE0 for ; Wed, 28 Oct 2015 19:29:26 +0000 (UTC) Received: by wijp11 with SMTP id p11so267905769wij.0 for ; Wed, 28 Oct 2015 12:29:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=ZWV3pIuKgicQ8yOAoj8VjgxyI4ZbSTSJAFtsqP4qNHQ=; b=1bHQjhA5rZWNZL9ffCXLO6lLRP6dO0pv0yXOtF6ZFqKnMo/J2refSNK1uypwajq1O7 MJboV/8nDjIq3rZcYihzK8U3jwONc+K8UCT8WuMxwMDGLFDgQEtnH75wy1KRJ2dXs3ej 5Tzl4HSlPbdvMigX8z/Ykgb3KoKPWi3kqaUB1YhzLRLUGoe9/41CP1MefAgaC2yAet0m byQ42JdmyaDfblRBNOOVnAzxLGPgvRVKrc9/X0CYtzPu3u3+19jkukwRcKpYoFguCjvf emxYF/1voNOVcvrnKpnvLYTVbt7hf2H2ZD1YiB3PiiOiG13iStN9aJZQ8ToR8M/EzQM1 NrWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=ZWV3pIuKgicQ8yOAoj8VjgxyI4ZbSTSJAFtsqP4qNHQ=; b=loqjU4YOLSEJs7gJnXcLu6ztAYYWhAtX0r3GXmOgNYLRD+KQkisZsljizOay0+96D8 33j76YaiimgY1xZZUVdK48fpDv3CrQyF5mZjjglYlI4MclXm/V9a8A+e1DJxtI07BHW6 ThaCpmEooHy4gpLcpddqCwxNpt6mOb/xkGrWXiciC33TgKzTVoCr1JuEtpCvagg4i7ZC 6PxJOPZCfcPV8PkB9qZkZw6nvbwkAx/ONj25OMrtjJFYli9S+sgIX+iBwYfMsJjhOGkh 9u2poD8Yj0avI8ezJdUpYpnFh3OlIbWuNhPs6eyiUNc8EZMuatTYndftIC3tvTEmPds5 nhdA== X-Gm-Message-State: ALoCoQl+O2Z+tIP81g0kqv7n7SZq8rXBN04NxjCXzI94CdOQRiqnl4ykeSBIQb3lBCuYdAU+2q7C X-Received: by 10.28.216.7 with SMTP id p7mr2317888wmg.61.1446060566151; Wed, 28 Oct 2015 12:29:26 -0700 (PDT) Received: from e106441.emea.arm.com ([2001:41d0:a:3cb4::abcd]) by smtp.gmail.com with ESMTPSA id h4sm31286154wjx.41.2015.10.28.12.29.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Oct 2015 12:29:25 -0700 (PDT) From: Stuart Haslam To: lng-odp@lists.linaro.org Date: Wed, 28 Oct 2015 19:29:07 +0000 Message-Id: <1446060551-21029-6-git-send-email-stuart.haslam@linaro.org> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1446060551-21029-1-git-send-email-stuart.haslam@linaro.org> References: <1446060551-21029-1-git-send-email-stuart.haslam@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 5/9] validation: pktio: export pktio_test_start_stop() 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" All test functions should be non-static and declared in the modules header file. Signed-off-by: Stuart Haslam --- test/validation/pktio/pktio.c | 2 +- test/validation/pktio/pktio.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c index 5cad67d..7e0f399 100644 --- a/test/validation/pktio/pktio.c +++ b/test/validation/pktio/pktio.c @@ -704,7 +704,7 @@ void pktio_test_inq(void) CU_ASSERT(odp_pktio_close(pktio) == 0); } -static void pktio_test_start_stop(void) +void pktio_test_start_stop(void) { odp_pktio_t pktio[MAX_NUM_IFACES]; odp_packet_t pkt; diff --git a/test/validation/pktio/pktio.h b/test/validation/pktio/pktio.h index 2928dbe..93d5afb 100644 --- a/test/validation/pktio/pktio.h +++ b/test/validation/pktio/pktio.h @@ -22,6 +22,7 @@ void pktio_test_inq_remdef(void); void pktio_test_open(void); void pktio_test_lookup(void); void pktio_test_inq(void); +void pktio_test_start_stop(void); /* test arrays: */ extern odp_testinfo_t pktio_suite[];