tests: Forbid to run the blit tests with count of 1
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 12 Feb 2013 14:24:40 +0000 (14:24 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 18 Feb 2013 18:54:16 +0000 (19:54 +0100)
commit6526d8c6fcc10f1b100c570f1d924154cd43b2e9
treee6b970161ba600b110758917e96c5459d2f95649
parent50c45f9586843bb3b83d9bed5d9738145ba05866
tests: Forbid to run the blit tests with count of 1

Invoking say,

  sudo ./tests/gem_render_linear_blits 1

does not make a lot of sense as we're creating a single bo. The test
does not yell at you and passes, even if the rendercopy function does
not do anything. This makes it quite harmful when trying to debug
rendercopy without realizing that count is the number of allocated bos
and must be >= 2.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/gem_linear_blits.c
tests/gem_render_linear_blits.c
tests/gem_render_tiled_blits.c
tests/gem_tiled_blits.c