From: Damien Lespiau Subject: [PATCH 6/8] tests: Instrument gem_lut_handle for simulation Date: Thu, 18 Jul 2013 16:19:11 +0100 Message-ID: <1374160753-21781-7-git-send-email-damien.lespiau@intel.com> References: <1374160753-21781-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id 78239E68F6 for ; Thu, 18 Jul 2013 08:19:34 -0700 (PDT) In-Reply-To: <1374160753-21781-1-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Signed-off-by: Damien Lespiau --- tests/gem_lut_handle.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/gem_lut_handle.c b/tests/gem_lut_handle.c index fdd2ab8..f3e5734 100644 --- a/tests/gem_lut_handle.c +++ b/tests/gem_lut_handle.c @@ -183,8 +183,6 @@ int main(int argc, char **argv) uint32_t handle; int fd, i; - drmtest_skip_on_simulation(); - fd = drm_open_any(); handle = gem_create(fd, 4096); @@ -199,7 +197,7 @@ int main(int argc, char **argv) do_or_die(exec(fd, handle, USE_LUT)); fail(exec(fd, handle, USE_LUT | BROKEN)); - for (i = 2; i <= 65536; i *= 2) { + for (i = 2; i <= SLOW_QUICK(65536, 8); i *= 2) { if (many_exec(fd, handle, i+1, i+1, NORMAL) == -1 && errno == ENOSPC) break; -- 1.8.3.1