[Intel-gfx] [PATCH 23/23] pm_pc8: Use SLOW_QUICK() with the number of rounds
Damien Lespiau
damien.lespiau at intel.com
Fri Nov 15 17:33:40 CET 2013
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 <paulo.r.zanoni at intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
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
More information about the Intel-gfx
mailing list