From patchwork Thu Sep 10 09:48:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 53377 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id 2CC4F22B19 for ; Thu, 10 Sep 2015 09:49:52 +0000 (UTC) Received: by lanb10 with SMTP id b10sf12567240lan.3 for ; Thu, 10 Sep 2015 02:49:51 -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=9DsZb8naPOkpGL7O5z2rkD2JYHYsrDttCEmzsghS88s=; b=HB94MZRcqpMVTAp1pDh2fRFS4PAjKuYlLp19mIjB42JD6EZic8qvm9YaVIn26+aEtw 1pUdUq3fqeBvto9m2qPA81dvYfiYSVnq9whwZjFb39E2U3HrpRemgE3ChQXE/7WT/JbE DtAab4qGEhl1k5rFJ0V1h7DW7coDvSrOroqJ6yOnZ8e5KzIPE7U+Yl3BstFV74moU/q9 E3FpwBWnWbXel2PJ99uFCgR8C0aoxSH9zz5UV2OyfC3OCc5p2AcZ3ZYRlMyhE4ywvVxq 9mncuQdcx/adCdWlmOhrOLB+ikh4SToW1l+NNja7wMHpR0v6aiDJzM+lUyYoBmHicKNG iLNQ== X-Gm-Message-State: ALoCoQk3qeSl9ixw9Nt/+6U7GZyJR3AG/vDHr+5Skyxx9ZJ2hKdV6MTL4hMVE2FGSSBcanolZ1dk X-Received: by 10.180.99.196 with SMTP id es4mr572684wib.1.1441878591106; Thu, 10 Sep 2015 02:49:51 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.100 with SMTP id u4ls165857lae.51.gmail; Thu, 10 Sep 2015 02:49:50 -0700 (PDT) X-Received: by 10.152.36.67 with SMTP id o3mr33991593laj.11.1441878590928; Thu, 10 Sep 2015 02:49:50 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id o6si9942086laj.10.2015.09.10.02.49.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Sep 2015 02:49:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lbcao8 with SMTP id ao8so19984296lbc.3 for ; Thu, 10 Sep 2015 02:49:50 -0700 (PDT) X-Received: by 10.112.166.106 with SMTP id zf10mr34690374lbb.36.1441878590738; Thu, 10 Sep 2015 02:49:50 -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.59.35 with SMTP id w3csp850296lbq; Thu, 10 Sep 2015 02:49:49 -0700 (PDT) X-Received: by 10.140.232.209 with SMTP id d200mr55912380qhc.68.1441878589705; Thu, 10 Sep 2015 02:49:49 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 207si12587726qhx.1.2015.09.10.02.49.48; Thu, 10 Sep 2015 02:49:49 -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 9E44A61A55; Thu, 10 Sep 2015 09:49:48 +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 2839061C84; Thu, 10 Sep 2015 09:48:57 +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 E1E0C61A1F; Thu, 10 Sep 2015 09:48:52 +0000 (UTC) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by lists.linaro.org (Postfix) with ESMTPS id 0D6D3619C5 for ; Thu, 10 Sep 2015 09:48:52 +0000 (UTC) Received: by wicge5 with SMTP id ge5so17571400wic.0 for ; Thu, 10 Sep 2015 02:48:51 -0700 (PDT) X-Received: by 10.180.8.200 with SMTP id t8mr4639472wia.34.1441878531316; Thu, 10 Sep 2015 02:48:51 -0700 (PDT) Received: from khorivan.synapse.com ([195.238.92.128]) by smtp.gmail.com with ESMTPSA id s9sm14710378wjy.16.2015.09.10.02.48.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Sep 2015 02:48:50 -0700 (PDT) From: Ivan Khoronzhuk To: lng-odp@lists.linaro.org, petri.savolainen@nokia.com, nmorey@kalray.eu Date: Thu, 10 Sep 2015 12:48:42 +0300 Message-Id: <1441878522-19505-3-git-send-email-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441878522-19505-1-git-send-email-ivan.khoronzhuk@linaro.org> References: <1441878522-19505-1-git-send-email-ivan.khoronzhuk@linaro.org> X-Topics: patch Subject: [lng-odp] [Patch 2/2] validation: schedule: don't check schedule time on 0 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: ivan.khoronzhuk@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.217.174 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 The ODP_SCHED_NO_WAIT now corresponds to 0, not 1. So no need to check it anymore. Signed-off-by: Ivan Khoronzhuk --- test/validation/scheduler/scheduler.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/validation/scheduler/scheduler.c b/test/validation/scheduler/scheduler.c index 1874889..94facea 100644 --- a/test/validation/scheduler/scheduler.c +++ b/test/validation/scheduler/scheduler.c @@ -96,9 +96,6 @@ void scheduler_test_wait_time(void) wait_time = odp_schedule_wait_time(0); - wait_time = odp_schedule_wait_time(1); - CU_ASSERT(wait_time > 0); - wait_time = odp_schedule_wait_time((uint64_t)-1LL); CU_ASSERT(wait_time > 0); }