From patchwork Thu Sep 12 12:02:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 2877881 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 4D8E19F476 for ; Thu, 12 Sep 2013 12:03:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0E01E202F7 for ; Thu, 12 Sep 2013 12:03:25 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 0FA11202EC for ; Thu, 12 Sep 2013 12:03:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 063F5E6341 for ; Thu, 12 Sep 2013 05:03:20 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-ee0-f48.google.com (mail-ee0-f48.google.com [74.125.83.48]) by gabe.freedesktop.org (Postfix) with ESMTP id 40F62E5EED for ; Thu, 12 Sep 2013 05:02:21 -0700 (PDT) Received: by mail-ee0-f48.google.com with SMTP id l10so5250144eei.21 for ; Thu, 12 Sep 2013 05:02:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=XtEtn+w6/zO/wcc00XliwkYT9bKD0oVmmaFVNT1N+mY=; b=SJvw1hPSWU/1XJCogSV+Pg4lKYxUFFebnK+DA8/Oy6anVa+5dwUy37bfaghPZH34OS fFwVMqZnG9QpCB8X5DQS7w3eOWSug6YK4vNmZp/L5nn3d6T9JUxaryQGzQ4VQh6nHZJc 2diLFgkPL/72SSA/sclD+Mz8td732clHA0dh4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-type:content-transfer-encoding; bh=XtEtn+w6/zO/wcc00XliwkYT9bKD0oVmmaFVNT1N+mY=; b=eZzM8E3u2UoRiqsTsVdLAlzKNwcoLaU9j88G9J5wWFBH5Q/LUQc/l63jUPBXMElbqW QmXrLco2SpMYwi7OivZx0KpphrPm8NmC5NXWFtHRo81BdOaceiafbpyzS2dBzhEC+siE QJdiMfibebfpSg9Kp0ij/4PPSWFXd0S0UEXVPeHqmrAAe4v3aCjH7qoFrtdXCybjEUTG ORsyJuyyF6xglYzbtV34zBRoiXmWM1F+z0zHrPx37Ce+YDlc8YncPKRud/Pu6d6gqH/B EF4Qx8tx6iOhD74ADKpWMQCYP3SCgRLCnT6M+oDCbdR4HDycl1IclKH0ft5D9q2rtdkC dCCw== X-Gm-Message-State: ALoCoQmgR3GqjiY7bNBO9f1K/XdQIdOm/oHSmxl3SaAp9r3WViztA/bYim5plR3xQpOUEbvDsBhi X-Received: by 10.14.241.141 with SMTP id g13mr2003459eer.75.1378987340438; Thu, 12 Sep 2013 05:02:20 -0700 (PDT) Received: from phenom.ffwll.local (178-83-130-250.dynamic.hispeed.ch. [178.83.130.250]) by mx.google.com with ESMTPSA id k7sm5252123eeg.13.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Sep 2013 05:02:19 -0700 (PDT) From: Daniel Vetter To: Intel Graphics Development Date: Thu, 12 Sep 2013 14:02:30 +0200 Message-Id: <1378987350-3923-1-git-send-email-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 1.8.4.rc3 MIME-Version: 1.0 Cc: Daniel Vetter , Ben Widawsky Subject: [Intel-gfx] [PATCH] lib/drmtest: skip suspend tests in simulation 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: , Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 The simulator doesn't like this nor really support it :( Cc: Ben Widawsky Cc: Ville Syrjälä Cc: Damien Lespiau Signed-off-by: Daniel Vetter Reviewed-by: Damien Lespiau --- lib/drmtest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/drmtest.c b/lib/drmtest.c index 9d4c5da..509db13 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -2088,6 +2088,8 @@ void igt_system_suspend_autoresume(void) { int ret; + igt_skip_on_simulation(); + ret = system("rtcwake -s 30 -m mem"); igt_assert(ret == 0); }