From patchwork Wed Jun 14 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: 105518 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp307868qgd; Wed, 14 Jun 2017 07:01:54 -0700 (PDT) X-Received: by 10.55.71.205 with SMTP id u196mr248600qka.7.1497448914617; Wed, 14 Jun 2017 07:01:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497448914; cv=none; d=google.com; s=arc-20160816; b=t0KdTX451jzaDfMiGHi6KDxq7ZOyqkNlxGI7pbBf9GYirnTeaZRvXnmdxZAYufolma UhqjCoph2GOQw5N6KKSzpZpXhQtS/6QVi2TZ3yvXZ4FhRRtidlU4YbeLMluphjwwS0mz rnqFpx07h1Mktsh2apSe/Ga7dDIID8MhYIKKZ7IwzUHaC9Ut7VGf5sYaNo3LlHsyQiIV 9e0I4cDXIch7/pfSw8VH+X3okEN0ovUc/Yq6f8/hUFlvTvIaLZF+jGfKNhmUVQ+VXo8H KYlhbZkz3gfA8K1vYjP+bpTeo4j8d/bEJhlglv6+WLhSanoo2z2crRz/DUX3TgmJqrmN vwRQ== 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=vv6dLnAe5jraANnevnyA+oSJjgGyUTFDCutsa2YRdmg=; b=X/o+V7SMSq5F18rI34OutazF+iSqJtrFZJGuLvaYHNqf/dyI4b2ojquo03uIGHbaMS rUPd0dJ8f6A5FfsuphcDdvI4BbZ87TOe4xDxdppgxW11aAIBxsZ5wsORzTA2vNm3ZdQ8 axtTn5VXRcqPJf6J1Q9fzQ5NPhxfbmV+PhJvXciC3Jfm/SYmTDCCCRpTaUZByDZV5bm0 cBUZe5nmX0BZln829s+O+IE0KkaBz4pTPRZXRLH7/zqis99Txw5VbMAIrGlKenuSxwt1 ol6X1lo+JtWFneS2ulrqT+jNbUixpR97hOMjJG1ct7mDw8P2nDb/fSELfCHAUbF39joB kSpw== 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 z51si77262qta.307.2017.06.14.07.01.54; Wed, 14 Jun 2017 07:01:54 -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 57EEA60962; Wed, 14 Jun 2017 14:01:54 +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,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 C569B60C0C; Wed, 14 Jun 2017 14:01:00 +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 6072960C10; Wed, 14 Jun 2017 14:00:57 +0000 (UTC) Received: from forward1p.cmail.yandex.net (forward1p.cmail.yandex.net [77.88.31.16]) by lists.linaro.org (Postfix) with ESMTPS id 70EAE6013B for ; Wed, 14 Jun 2017 14:00:21 +0000 (UTC) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [37.140.190.27]) by forward1p.cmail.yandex.net (Yandex) with ESMTP id 361712126D for ; Wed, 14 Jun 2017 17:00:19 +0300 (MSK) Received: from smtp2o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2o.mail.yandex.net (Yandex) with ESMTP id C2C5C5080D92 for ; Wed, 14 Jun 2017 17:00:10 +0300 (MSK) Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vEJAb7F2pl-0AmGuSHs; Wed, 14 Jun 2017 17:00:10 +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: Wed, 14 Jun 2017 17:00:06 +0300 Message-Id: <1497448806-6482-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1497448806-6482-1-git-send-email-odpbot@yandex.ru> References: <1497448806-6482-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 49 Subject: [lng-odp] [PATCH API-NEXT v2 2/2] 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: 3380e6fad8d778fc892b47ce2b0cbaafb29fa219 **/ 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..2c03fbcc 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" ] + 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"