From patchwork Thu Sep 10 16:18:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 53388 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id 8EBA322B19 for ; Thu, 10 Sep 2015 16:19:59 +0000 (UTC) Received: by lagj9 with SMTP id j9sf17923191lag.0 for ; Thu, 10 Sep 2015 09:19:58 -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=c4oWukIge6/J+EJDBuqGmQ4qcUMzs+AOyTm/lrcUFtE=; b=CB/jmZLbeDDoJvLaFfZVh+1ZA6d+wEeTPOwa6PjoNtgUdyZGUPAnF4OulP6fJxSBhQ AC9EIKCPbooOwRBfPzoKNPwhzD2JJ/iHY6oJFDPQbrSXvJYZhBcnbSjkB6bNEWsJXJs9 rdDQQZbBhoWLFXgEFL/vH/9ROSpZva4s1X+eYXJ4pVWQLkTDRH05K7ZbNIvOk6i1Y9Y+ 0ZWI+13DLr2IK4J7Eg/QIGAYRRgKBMtS23CCicAGDukp77fXa4tny7lQk120TBv6WOSb LA1pH0ZVRAwHAnffd1TXYx13Dxn7SvjGe/ZZa8WkOm8H4RrELeNkjGY2QNUZySI8qkxf tEXg== X-Gm-Message-State: ALoCoQmrkq0dWtHyHkWwGeX821f6HeEkfIMYN5mY1M3NQglc0KXmHW5lW/6ygjrO2yxzQJ8CEEY2 X-Received: by 10.180.87.199 with SMTP id ba7mr1091710wib.5.1441901998518; Thu, 10 Sep 2015 09:19:58 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.105 with SMTP id p9ls69584laj.57.gmail; Thu, 10 Sep 2015 09:19:58 -0700 (PDT) X-Received: by 10.112.64.228 with SMTP id r4mr35918116lbs.80.1441901998344; Thu, 10 Sep 2015 09:19:58 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id n8si10887068lbm.52.2015.09.10.09.19.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Sep 2015 09:19:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by lbpo4 with SMTP id o4so26127240lbp.2 for ; Thu, 10 Sep 2015 09:19:57 -0700 (PDT) X-Received: by 10.152.178.165 with SMTP id cz5mr36593710lac.29.1441901997907; Thu, 10 Sep 2015 09:19:57 -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 w3csp1072529lbq; Thu, 10 Sep 2015 09:19:56 -0700 (PDT) X-Received: by 10.55.212.215 with SMTP id s84mr54749754qks.74.1441901996800; Thu, 10 Sep 2015 09:19:56 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id f90si13860244qgf.32.2015.09.10.09.19.56; Thu, 10 Sep 2015 09:19: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; Received: by lists.linaro.org (Postfix, from userid 109) id EF10561D07; Thu, 10 Sep 2015 16:19: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, 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 2256A61D10; Thu, 10 Sep 2015 16:19:23 +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 1D7A061E96; Thu, 10 Sep 2015 16:19:19 +0000 (UTC) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by lists.linaro.org (Postfix) with ESMTPS id 5CC5E61D07 for ; Thu, 10 Sep 2015 16:19:02 +0000 (UTC) Received: by wicfx3 with SMTP id fx3so34451791wic.1 for ; Thu, 10 Sep 2015 09:19:01 -0700 (PDT) X-Received: by 10.194.204.163 with SMTP id kz3mr71575658wjc.28.1441901941651; Thu, 10 Sep 2015 09:19:01 -0700 (PDT) Received: from khorivan.synapse.com ([195.238.92.128]) by smtp.gmail.com with ESMTPSA id us6sm6081321wjc.35.2015.09.10.09.19.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Sep 2015 09:19:00 -0700 (PDT) From: Ivan Khoronzhuk To: lng-odp@lists.linaro.org, petri.savolainen@nokia.com, nmorey@kalray.eu Date: Thu, 10 Sep 2015 19:18:50 +0300 Message-Id: <1441901930-29287-3-git-send-email-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441901930-29287-1-git-send-email-ivan.khoronzhuk@linaro.org> References: <1441901930-29287-1-git-send-email-ivan.khoronzhuk@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH v2 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.180 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 Reviewed-by: Petri Savolainen --- test/validation/scheduler/scheduler.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/validation/scheduler/scheduler.c b/test/validation/scheduler/scheduler.c index 1874889..39357e7 100644 --- a/test/validation/scheduler/scheduler.c +++ b/test/validation/scheduler/scheduler.c @@ -95,9 +95,7 @@ void scheduler_test_wait_time(void) uint64_t wait_time; 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);