tests/gem_ctx_exec: Add eviction test
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 5 Dec 2013 14:49:58 +0000 (15:49 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 5 Dec 2013 14:50:43 +0000 (15:50 +0100)
commit40b586188c021db58a37ef23ac7d3e20547461a1
tree338d01f780d3b7cfc10c0012ec479c837d7d1a13
parent1a95c710f9160692e3c29100600b1766388f93de
tests/gem_ctx_exec: Add eviction test

It didn't pan out at all since atm we don't evict context objects. But
maybe it's useful for when that happens.

v2: Actually test eviction. Took a while to figure that one out.

And indeed the testcase now fails because we don't evict the previous
context as we should.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/Makefile.sources
tests/gem_ctx_exec.c