Four new tests for error handling
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 19 Jun 2009 01:07:47 +0000 (18:07 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 19 Jun 2009 01:10:23 +0000 (18:10 -0700)
commitbbafc3d0bf851f0f1a2de6cdc7f2923a2387e775
tree104d29b86e72bde034544d61d398574bc3166ddf
parent49c564ec2fa47f62d097c7dee42730ae43445f8b
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
.gitignore
lib/intel_reg.h
tests/Makefile.am
tests/gem_bad_address.c [new file with mode: 0644]
tests/gem_bad_batch.c [new file with mode: 0644]
tests/gem_bad_blit.c [new file with mode: 0644]
tests/gem_hang.c [new file with mode: 0644]