Four new tests for error handling

Add four new tests for error the error handling cases:
  - gem_bad_address - store to a bad address, should generate a protection or
    page table error
  - gem_bad_batch - try to execute a bad batch, should generate a protection,
    invalid instruction or page table error
  - gem_bad_blit - blit to an invalid location, should generated a protection
    or page table error
  - gem_hang - hang the GPU on an event that will never happen, test hang
    detection & recovery code
This commit is contained in:
Jesse Barnes
2009-06-18 18:07:47 -07:00
parent 49c564ec2f
commit bbafc3d0bf
7 changed files with 396 additions and 1 deletions
+5 -1
View File
@@ -9,7 +9,11 @@ TESTS = getversion \
gem_pread_after_blit \
gem_tiled_pread \
gem_tiled_blits \
gem_largeobject
gem_largeobject \
gem_bad_address \
gem_bad_blit \
gem_bad_batch \
gem_hang
EXTRA_PROGRAMS = $(TESTS)
CLEANFILES = $(EXTRA_PROGRAMS)