From: Daniel Vetter Subject: [PATCH 0/5] igt subtests support and piglit integration Date: Tue, 27 Nov 2012 21:13:48 +0100 Message-ID: <1354047233-23264-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-ea0-f177.google.com (mail-ea0-f177.google.com [209.85.215.177]) by gabe.freedesktop.org (Postfix) with ESMTP id D8404E5F13 for ; Tue, 27 Nov 2012 12:25:09 -0800 (PST) Received: by mail-ea0-f177.google.com with SMTP id c10so3204239eaa.36 for ; Tue, 27 Nov 2012 12:25:08 -0800 (PST) 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 Graphics Development Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org Hi all, This little patchseries adds some support to the Makefiles so that the piglit igt integration can automagically enumerate tests, without the need to specify things at a hundred different places. The second part adds some small infrastructure to support subtests in a simple way. The piglit support adds each subtests as a sparate testcase, and starts each binary with --run-subtest for each one. As a proof of concept I've converted flip_test, but I plan to slouch through all the others in the next few days. I've pushed the piglit stuff to http://cgit.freedesktop.org/~danvet/piglit/log/ Comments and flames highly welcome. Cheers, Daniel Daniel Vetter (5): tests: infrastructure for piglit runner tests: remove ZZ_check_dmesg from runner tests: dont polute stderr if the test succeeds/skips lib/drmtest: subtest infrastructure tests/flip_test: use subtest infrastructure lib/drmtest.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++ lib/drmtest.h | 3 +++ tests/Makefile.am | 44 +++++++++++++++++++++++++++------- tests/flip_test.c | 51 +++++++++++++++++++++------------------ tests/gem_cpu_reloc.c | 2 +- tests/gem_cs_prefetch.c | 2 +- tests/gem_ctx_create.c | 2 +- tests/sysfs_rps.c | 2 +- 8 files changed, 133 insertions(+), 36 deletions(-) -- 1.7.11.7