lib: Add a way to specify values for "quick" runs
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 13 Feb 2013 16:29:01 +0000 (16:29 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Feb 2013 17:09:11 +0000 (18:09 +0100)
commitbb33d08845db2cf368240e737090ca3938b5ba64
treee49bb11cfd5cd54013f266290a720ca791adf3b5
parent6157d242a572c21970e98d36e0837d106f6b2d0e
lib: Add a way to specify values for "quick" runs

In some environments, we don't really want to loop 100000 times or
allocate 152352621 buffers because it makes the tests too long to run.

This adds a way to specify "quick" values to reduce the time taken by
certain tests.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/drmtest.c
lib/drmtest.h