Mike Mason 4d2f511cee 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>
2014-08-19 11:32:06 +01:00
..
2012-04-10 16:23:18 +02:00
2014-06-13 18:27:59 +02:00
2014-06-13 18:27:59 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 12:33:02 +01:00
2014-05-14 00:36:04 +02:00
2014-06-13 18:27:59 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-03-23 13:47:09 +01:00
2014-05-14 09:56:53 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 09:56:53 +02:00
2014-05-14 09:56:53 +02:00
2014-03-23 13:47:09 +01:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-06-13 18:27:59 +02:00
2014-03-23 13:47:09 +01:00
2014-05-14 00:36:04 +02:00
2014-06-13 18:27:59 +02:00
2014-05-14 09:56:53 +02:00
2014-03-23 13:47:09 +01:00
2013-11-01 22:18:20 +01:00
2014-05-14 09:56:53 +02:00
2014-07-10 20:06:54 +02:00
2013-11-01 21:10:59 +01:00
2014-06-13 18:27:59 +02:00
2012-01-15 16:05:43 +01:00