From patchwork Thu Jun 15 15:00:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 105656 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp838623obh; Thu, 15 Jun 2017 08:00:56 -0700 (PDT) X-Received: by 10.55.2.68 with SMTP id 65mr7384492qkc.57.1497538856170; Thu, 15 Jun 2017 08:00:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497538856; cv=none; d=google.com; s=arc-20160816; b=fG0qDtH2z8LBLHnpLMLkdF3ekgwvO39PscMYRAG4jo6WNwzj8rmrFQNQKZhX0kHxSE 48NLBfSzntlWFz4UDcDLjpsc4fBEoJ9+ow52dZDpsdhKCDkkPHeT5ma7WhKqxd83cj/A A3psVwKShMi3bx4FE2glHmNgIT0kayyNNktLFUGPZUunLFs0tnflcznQYdoTRBVH/ZYF p+Uwfl5KrBYkua5DN1H3D+gm3qi/NkZzd+YWNvHMMTCP89gxiPZ35sVyd2ep9aOlrGCU /p5rRemMz6zQ2nQyXE+DYuFUuBihfb5xTp0iMaubqMvFe1a1AGRTyTyULNpOyzhwro3o anQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=GP6Wzeev/qqxne5CJ/D/oz8kM2+87ZtCrpCFhIBtsYI=; b=mGc3QvU9c3ERYnPK/x8m8BLAx6CWkagjbaNKqK5/UCCeA+9uJxeBnjxDzCnrFmk8b+ FeJBkXmsDpoYvDvLn2kuj29zKcz/lw9Z+XixzFEsnf9Tilwn6rnKHbsCFZFzsMhUc5ys 4/RG2nkpajwgZyFH7nCra7xjd1KhF0G4dHbIFf/YUuwFRATZJbI7D3nwe05R86xXvbFI XDR/yKMF7ERUr8F1tSVtCI1aVIYnsUyve7+17xkp7LD5wIlJCA+kMSRiY0u/lfj4JM6O ktR/UchMO649q/Lh5m+C5zev2l8d4+lyoMylXVxgFHrH28+sGRyJom5ZexAOybpCnd8a reqQ== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id l67si361642qte.88.2017.06.15.08.00.55; Thu, 15 Jun 2017 08:00:56 -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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id D54A0608BC; Thu, 15 Jun 2017 15:00:55 +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,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,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 9C43060C18; Thu, 15 Jun 2017 15:00:28 +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 EE8CF608BC; Thu, 15 Jun 2017 15:00:19 +0000 (UTC) Received: from forward5o.cmail.yandex.net (forward5o.cmail.yandex.net [37.9.109.249]) by lists.linaro.org (Postfix) with ESMTPS id C8B43608B8 for ; Thu, 15 Jun 2017 15:00:18 +0000 (UTC) Received: from smtp2m.mail.yandex.net (smtp2m.mail.yandex.net [77.88.61.129]) by forward5o.cmail.yandex.net (Yandex) with ESMTP id 58FE7202D0 for ; Thu, 15 Jun 2017 18:00:17 +0300 (MSK) Received: from smtp2m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2m.mail.yandex.net (Yandex) with ESMTP id 318F923010A4 for ; Thu, 15 Jun 2017 18:00:16 +0300 (MSK) Received: by smtp2m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id tzE4diCb9B-0G78mV05; Thu, 15 Jun 2017 18:00:16 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 15 Jun 2017 18:00:06 +0300 Message-Id: <1497538809-15817-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1497538809-15817-1-git-send-email-odpbot@yandex.ru> References: <1497538809-15817-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 49 Subject: [lng-odp] [PATCH API-NEXT v4 1/4] test: l2fwd pass under coverage 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: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Maxim Uvarov env variable TEST=coverage is set, use it to not fail under gcov run which is really slow. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 49 (muvarov:api-next_travis_fixes) ** https://github.com/Linaro/odp/pull/49 ** Patch: https://github.com/Linaro/odp/pull/49.patch ** Base sha: 4f97e500a097928e308a415c32a88465adc5f5cc ** Merge commit sha: 9da6cb2fc4e7c9c4bb5da96da553c50eeffcec59 **/ test/common_plat/performance/odp_l2fwd_run.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/common_plat/performance/odp_l2fwd_run.sh b/test/common_plat/performance/odp_l2fwd_run.sh index dd42ede9..6871e4b0 100755 --- a/test/common_plat/performance/odp_l2fwd_run.sh +++ b/test/common_plat/performance/odp_l2fwd_run.sh @@ -96,6 +96,9 @@ run_l2fwd() ret=1 elif [ $ret -eq 0 ]; then PASS_PPS=5000 + if [ "${TEST}" = "coverage" ]; then + PASS_PPS=10 + fi MAX_PPS=$(awk '/TEST RESULT/ {print $3}' $LOG) if [ "$MAX_PPS" -lt "$PASS_PPS" ]; then echo "FAIL: pps below threshold $MAX_PPS < $PASS_PPS"