From patchwork Thu Jun 15 14: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: 105650 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp817585qgd; Thu, 15 Jun 2017 07:00:56 -0700 (PDT) X-Received: by 10.55.192.68 with SMTP id o65mr6654774qki.13.1497535256480; Thu, 15 Jun 2017 07:00:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497535256; cv=none; d=google.com; s=arc-20160816; b=0LX/5JshHKWmdOYt5hapPUOxUeYo8N7ozFgXK8Qwc8q+rmVXkWvMu3dMZmRSoMwu/r m1JTl8ll2g/M9XAzxceXiczCM7VbTrNoVfhCO3eu5EpxAk3NVz5WBJBfbnMu2X8iANvU pOzZIqfYDry84BSeP4pMfGli3iVZcdhllo79I996ZZzVGkrIDUh5YqQg+lWlctu7fHiN EjuNI6J16T6z+tdD3XqSCdFinvs5wa0VLsPN70fa+83jAngQiiVlOcVd1DTM+IqhjMfW pqD3WLcVlEBBRltdV9lrEYT1bIon7WeQ0w31W8+tfLZ8Um0UgUBJLAOjzREIfI2dwgQ3 QlYg== 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=rMridjVxY4iOvWtn+5BPDoWMoCNybUQbwJ9BohJStBI=; b=scfMZ9fjpkSXuhAxZnBUBdjdQp6bMPU+4rsemJIHHpXJ9OzhNmY/yLZv9KZyq+BXRR gU07c8gX2Nmai8Ir23vHvI0w4vrfAgrgUMzE/25rPLTH9SayuSiQV8U/uXVI1O/3QRGH mDXZ0W8JUB0N7mpaMLRwpKOguA0J94xxyO9K70gnVm5KONhfx+MT/Zz/20fM2z5OQGai Nz7CsoP/x1lQuaQ24vd0dC/J9woAmZxX0NhvBGqnNipLtL+PTP2qWEOXUj+L1QLQ33A/ x/V2t1fW+WFVIxshYwhTaVZJB+x7vFlzrv5BNQu3qxi6SXd0NQIxrq0px5Zkv43awh81 Hqiw== 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 33si229266qtv.43.2017.06.15.07.00.56; Thu, 15 Jun 2017 07: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 3033160C1C; Thu, 15 Jun 2017 14:00:56 +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 0315C60C10; Thu, 15 Jun 2017 14: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 9B44560923; Thu, 15 Jun 2017 14:00:22 +0000 (UTC) Received: from forward5h.cmail.yandex.net (forward5h.cmail.yandex.net [87.250.230.20]) by lists.linaro.org (Postfix) with ESMTPS id 5EB1F60923 for ; Thu, 15 Jun 2017 14:00:21 +0000 (UTC) Received: from smtp2j.mail.yandex.net (smtp2j.mail.yandex.net [95.108.130.60]) by forward5h.cmail.yandex.net (Yandex) with ESMTP id AC093219DE for ; Thu, 15 Jun 2017 17:00:19 +0300 (MSK) Received: from smtp2j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2j.mail.yandex.net (Yandex) with ESMTP id 226043EC12D8 for ; Thu, 15 Jun 2017 17:00:16 +0300 (MSK) Received: by smtp2j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id lNOIvZMoui-0GvmS1JW; Thu, 15 Jun 2017 17: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 17:00:06 +0300 Message-Id: <1497535208-25248-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1497535208-25248-1-git-send-email-odpbot@yandex.ru> References: <1497535208-25248-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 49 Subject: [lng-odp] [PATCH API-NEXT v3 1/3] 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: 1f733883b149dadf21d3eb0ac2ea5ee9a3a40d85 **/ 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"