From patchwork Tue Mar 11 16:18:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Wood X-Patchwork-Id: 3813231 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 391579F402 for ; Tue, 11 Mar 2014 16:19:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6269E2021F for ; Tue, 11 Mar 2014 16:19:01 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 8F487201FD for ; Tue, 11 Mar 2014 16:19:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5467DFA871; Tue, 11 Mar 2014 09:18:57 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by gabe.freedesktop.org (Postfix) with ESMTP id B2431FA871 for ; Tue, 11 Mar 2014 09:18:54 -0700 (PDT) Received: by mail-wg0-f52.google.com with SMTP id k14so10424931wgh.35 for ; Tue, 11 Mar 2014 09:18:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=STWlkEGa/YXdbd5ERDahSnIQ7CDOMXtUHY3v6Lz0OPQ=; b=ThLDjJjg4dUkgJCLKS0hgGeZ0IWG4VkaYBQTlttn5gtG1dawU/7ZEswKg/FGOIDAjk oqGlG26lBmr9daJllr7CHNLcySO9/b9VnHQkQ1dZN9hE9lPOvZXB+39/TPAPBrzdUnTK ragAWz6ZvnXU8gMQlyLbgr+2/Nj+2d6i+Ml462PvngibG0LE9sfmxy1PF7+pxImTrQad SnWJamszd35O9kNHYBKET7eALxk5/EaEgOvXo5iPNESK4yNoQjsj6smET4lh87lnIPpN 3PbscotPj4GfCUqlH3C4Y9pQWqzid3F5tSgrwT+oRm0O2WOz7zVEw56utU5fjAJrb7Af yR/Q== X-Gm-Message-State: ALoCoQn+5xwdwsmEIDeFbsUbqKWaLMnUZaspXPxUhV7hiiq8u3APENA+rUhH2B1X8/7VbssDCpEs X-Received: by 10.194.63.103 with SMTP id f7mr14757161wjs.38.1394554733886; Tue, 11 Mar 2014 09:18:53 -0700 (PDT) Received: from pistachio.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id n3sm7869469wix.10.2014.03.11.09.18.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Mar 2014 09:18:53 -0700 (PDT) From: Thomas Wood To: intel-gfx@lists.freedesktop.org Date: Tue, 11 Mar 2014 16:18:48 +0000 Message-Id: <1394554730-23229-2-git-send-email-thomas.wood@intel.com> X-Mailer: git-send-email 1.8.5.3 In-Reply-To: <1394554730-23229-1-git-send-email-thomas.wood@intel.com> References: <1394554730-23229-1-git-send-email-thomas.wood@intel.com> Subject: [Intel-gfx] [PATCH i-g-t 1/3] tests: add missing assertion X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Thomas Wood --- tests/pm_psr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/pm_psr.c b/tests/pm_psr.c index def8e12..5d28c7a 100644 --- a/tests/pm_psr.c +++ b/tests/pm_psr.c @@ -57,6 +57,7 @@ static int get_perf(const char *path) igt_assert(ret != 0); enabled = strcmp(str, "yes") == 0; ret = fscanf(file, "Performance_Counter: %i", &perf); + igt_assert(ret != 0); if (!sink) igt_skip("This panel does not support PSR.\n");