From: Damien Lespiau Subject: [PATCH 23/23] pm_pc8: Use SLOW_QUICK() with the number of rounds Date: Fri, 15 Nov 2013 16:33:40 +0000 Message-ID: <1384533220-20780-24-git-send-email-damien.lespiau@intel.com> References: <1384533220-20780-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 mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 3EBFEFB8EA for ; Fri, 15 Nov 2013 08:34:06 -0800 (PST) In-Reply-To: <1384533220-20780-1-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org Cc: Paulo Zanoni List-Id: intel-gfx@lists.freedesktop.org igt has some test suite wide support to specify slow/quick numbers of rounds with the SLOW_QUICK() macro. This allows us to run the tests with IGT_QUICK=1 and get the fast version of tests and provide a unified interface. Cc: Paulo Zanoni Signed-off-by: Damien Lespiau --- tests/pm_pc8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pm_pc8.c b/tests/pm_pc8.c index efeae21..7003d5a 100644 --- a/tests/pm_pc8.c +++ b/tests/pm_pc8.c @@ -1280,7 +1280,7 @@ static void gem_execbuf_stress_subtest(int rounds, int wait_flags) int main(int argc, char *argv[]) { - int rounds = 50; + int rounds = SLOW_QUICK(50, 10); igt_subtest_init(argc, argv); -- 1.8.3.1