[Intel-gfx] [PATCH 22/23] lib: Change SLOW_QUICK() to use igt_run_quick()

Damien Lespiau damien.lespiau at intel.com
Fri Nov 15 17:33:39 CET 2013


IGT_QUICK=1 is now triggering the quick version of the tests.

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 lib/drmtest.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/drmtest.h b/lib/drmtest.h
index c93fe6b..3a07329 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -303,7 +303,7 @@ static inline void gem_require_ring(int fd, int ring_id)
 /* helpers to automatically reduce test runtime */
 bool igt_run_in_simulation(void);
 bool igt_run_quick(void);
-#define SLOW_QUICK(slow,quick) (igt_run_in_simulation() ? (quick) : (slow))
+#define SLOW_QUICK(slow,quick) (igt_run_quick() ? (quick) : (slow))
 /**
  * igt_skip_on_simulation - skip tests when INTEL_SIMULATION env war is set
  *
-- 
1.8.3.1




More information about the Intel-gfx mailing list