tests/primve_nv_test: use igt_assert for checking
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 14 Aug 2013 20:15:04 +0000 (22:15 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 14 Aug 2013 20:19:43 +0000 (22:19 +0200)
commiteab7a322edc0a5b0553ff5f4c170096a98f8464f
treed12063edd798a8ffcd07e4b03832e4f7f85c8909
parent696c8f6434c7ec8db64f88125d4a7b31afd130bf
tests/primve_nv_test: use igt_assert for checking

... and drop the int return argument of the tests.

Also:
- make nv_write_i915_cpu_mmap_read functional again by dropping the
  goto.
- add checks to i915_import_pread_pwrite

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