Re: [Intel-gfx] [PATCH i-g-t] lib/tests/igt_segfault.c Add unit test to test segfault handling

2015-05-27 Thread Daniel Vetter
] [PATCH i-g-t] lib/tests/igt_segfault.c Add unit test to test segfault handling On Tue, May 26, 2015 at 5:05 PM, Derek Morton derek.j.mor...@intel.com wrote: + * The test consists of three subtests. The first and third should + pass + * while the second should cause a segfault

Re: [Intel-gfx] [PATCH i-g-t] lib/tests/igt_segfault.c Add unit test to test segfault handling

2015-05-26 Thread Morton, Derek J
-Original Message- From: daniel.vet...@ffwll.ch [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Tuesday, May 26, 2015 4:27 PM To: Morton, Derek J Cc: intel-gfx; Wood, Thomas Subject: Re: [Intel-gfx] [PATCH i-g-t] lib/tests/igt_segfault.c Add unit test to test segfault

[Intel-gfx] [PATCH i-g-t] lib/tests/igt_segfault.c Add unit test to test segfault handling

2015-05-26 Thread Derek Morton
Unit test to check a segfaulting subtest is handled correctly. Signed-off-by: Derek Morton derek.j.mor...@intel.com --- lib/tests/Makefile.sources | 2 ++ lib/tests/igt_segfault.c | 57 ++ 2 files changed, 59 insertions(+) create mode 100644

Re: [Intel-gfx] [PATCH i-g-t] lib/tests/igt_segfault.c Add unit test to test segfault handling

2015-05-26 Thread Daniel Vetter
On Tue, May 26, 2015 at 5:05 PM, Derek Morton derek.j.mor...@intel.com wrote: + * The test consists of three subtests. The first and third should pass + * while the second should cause a segfault. + * The overall result should be a failure with two subtests passing. You need to split this up