diff options
author | Mike Mason <michael.w.mason@intel.com> | 2014-08-18 10:43:49 -0700 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2014-08-19 11:32:06 +0100 |
commit | 4d2f511cee49db9b8f1ebf93b9835d871dfb9a9e (patch) | |
tree | 95a4af1122c274dd9492a2cacbd2e3747db1b199 /tests/kms_cursor_crc.c | |
parent | e9da093b13c572b50c84ea2ec19244c8e2b78f08 (diff) |
tests: Fix seg fault when gem_mmap is run without specifying a subtest
gem_mmap seg faults when all tests are run together. This occurs because
the new-object subtest closes the gem object, but short-mmap assumes
it still exists. Thus gem_mmap__cpu() returns nil for addr and memset()
seg faults. This patch makes new-object and short-mmap create and
close their own gem objects.
Signed-off-by: Mike Mason <michael.w.mason@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/kms_cursor_crc.c')
0 files changed, 0 insertions, 0 deletions