[PATCH 23/23] pm_pc8: Use SLOW_QUICK() with the number of rounds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux