From patchwork Fri Sep 4 09:55:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stuart Haslam X-Patchwork-Id: 53076 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id 11ABC23013 for ; Fri, 4 Sep 2015 09:58:51 +0000 (UTC) Received: by wicmn1 with SMTP id mn1sf4457960wic.1 for ; Fri, 04 Sep 2015 02:58:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=mszy3J2cuk6JWUtkASWabwgvPO84LAXkS/Xa1X+N1yI=; b=CdIUeXsAei0VqACy4D/c1BEv1MEwdw/l+RhxWfl5Zd8OHa8Wp70moV+A/t9hemiJT5 RDMgAm65yMltLiyZGzgQAyrkHx7PBg3Wh3Z0CRCn+o+yVCZDByOow/NcsXsSB4Izko/p abjm0vVpwFcwcUp9THGuxvbFNsEEe5UIY+k3NDxJG0Hendh4TjIpDam9oljbxmcaSUFA qFDTawRzjDZgWLRuEj+OZsQGQXX9PyjhE95CcXoyiSB/T1QgJxpmlE261TMT2S0gBtqW KtvkNcbp7ZsYgInVcYK/M1DlBb6g3D50PAMYTMy6tUcg/ulqTCjm6nHwJ62/6esEKral VKBA== X-Gm-Message-State: ALoCoQlEtuBEsMBigV104sPu7RG03VVEeY2Yct8/rWodpoqrgFETtUWd1tmtt9XEtAlPTH9u+mAK X-Received: by 10.152.9.4 with SMTP id v4mr806723laa.6.1441360730260; Fri, 04 Sep 2015 02:58:50 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.103 with SMTP id l7ls322994laf.35.gmail; Fri, 04 Sep 2015 02:58:50 -0700 (PDT) X-Received: by 10.152.23.132 with SMTP id m4mr2750984laf.107.1441360730113; Fri, 04 Sep 2015 02:58:50 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id tu2si1849294lbb.57.2015.09.04.02.58.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Sep 2015 02:58:49 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by lamp12 with SMTP id p12so9788769lam.0 for ; Fri, 04 Sep 2015 02:58:49 -0700 (PDT) X-Received: by 10.152.44.196 with SMTP id g4mr2929840lam.56.1441360729698; Fri, 04 Sep 2015 02:58:49 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.164.42 with SMTP id yn10csp1838866lbb; Fri, 4 Sep 2015 02:58:48 -0700 (PDT) X-Received: by 10.55.26.4 with SMTP id a4mr3912331qka.8.1441360728751; Fri, 04 Sep 2015 02:58:48 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id e78si2252401qgd.13.2015.09.04.02.58.47; Fri, 04 Sep 2015 02:58:48 -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; Received: by lists.linaro.org (Postfix, from userid 109) id AD320619B9; Fri, 4 Sep 2015 09:58:47 +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 91C8961A3B; Fri, 4 Sep 2015 09:57:04 +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 9790D619C5; Fri, 4 Sep 2015 09:56:55 +0000 (UTC) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by lists.linaro.org (Postfix) with ESMTPS id B5A0261A32 for ; Fri, 4 Sep 2015 09:56:22 +0000 (UTC) Received: by wicfx3 with SMTP id fx3so12189750wic.0 for ; Fri, 04 Sep 2015 02:56:22 -0700 (PDT) X-Received: by 10.180.198.48 with SMTP id iz16mr5575541wic.91.1441360581954; Fri, 04 Sep 2015 02:56:21 -0700 (PDT) Received: from e106441.emea.arm.com ([2001:41d0:a:3cb4::abcd]) by smtp.gmail.com with ESMTPSA id vl1sm3083000wjc.0.2015.09.04.02.56.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 Sep 2015 02:56:21 -0700 (PDT) From: Stuart Haslam To: lng-odp@lists.linaro.org Date: Fri, 4 Sep 2015 10:55:44 +0100 Message-Id: <1441360547-18999-4-git-send-email-stuart.haslam@linaro.org> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1441360547-18999-1-git-send-email-stuart.haslam@linaro.org> References: <1441360547-18999-1-git-send-email-stuart.haslam@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv2 4/7] validation: pktio: don't print to stdout X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: 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" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: stuart.haslam@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 To avoid cluttering the test output, unit tests should not print directly to stdout. Signed-off-by: Stuart Haslam --- test/validation/pktio/pktio.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c index 512a77c..50cd901 100644 --- a/test/validation/pktio/pktio.c +++ b/test/validation/pktio/pktio.c @@ -563,15 +563,9 @@ void pktio_test_mac(void) pktio = create_pktio(iface_name[0], ODP_QUEUE_TYPE_SCHED, 0); - printf("testing mac for %s\n", iface_name[0]); - mac_len = odp_pktio_mac_addr(pktio, mac_addr, sizeof(mac_addr)); CU_ASSERT(ODPH_ETHADDR_LEN == mac_len); - printf(" %X:%X:%X:%X:%X:%X ", - mac_addr[0], mac_addr[1], mac_addr[2], - mac_addr[3], mac_addr[4], mac_addr[5]); - /* Fail case: wrong addr_size. Expected <0. */ mac_len = odp_pktio_mac_addr(pktio, mac_addr, 2); CU_ASSERT(mac_len < 0);