From: Daniel Vetter Subject: [PATCH] tests/pm_pc8: Use igt_assert_cmpint Date: Thu, 15 May 2014 17:03:00 +0200 Message-ID: <1400166180-13874-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f44.google.com (mail-ee0-f44.google.com [74.125.83.44]) by gabe.freedesktop.org (Postfix) with ESMTP id DE2C86E822 for ; Thu, 15 May 2014 08:03:07 -0700 (PDT) Received: by mail-ee0-f44.google.com with SMTP id c41so754671eek.17 for ; Thu, 15 May 2014 08:03:07 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Intel Graphics Development Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org More pretty! Signed-off-by: Daniel Vetter --- tests/pm_pc8.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/pm_pc8.c b/tests/pm_pc8.c index d36350370ba2..323e0729b9e6 100644 --- a/tests/pm_pc8.c +++ b/tests/pm_pc8.c @@ -605,8 +605,7 @@ static void test_i2c(struct mode_set_data *data) int i2c_edids = count_i2c_valid_edids(); int drm_edids = count_drm_valid_edids(data); - igt_assert_f(i2c_edids == drm_edids, "i2c:%d drm:%d\n", i2c_edids, - drm_edids); + igt_assert_cmpint(i2c_edids, ==, drm_edids); } static void setup_pc8(void) -- 1.9.2