Re: [Intel-gfx] [PATCH 0/7] drmtest framework support for retval handling

2013-08-12 Thread Daniel Vetter
On Mon, Aug 12, 2013 at 11:15:53AM +0200, Daniel Vetter wrote: > On Mon, Aug 12, 2013 at 11:09:54AM +0200, Daniel Vetter wrote: > > Hi all, > > > > So I've grown fed-up with our add-hoc (and pretty much always buggy) return > > value tracking for testcases with subtests. Furthermore sprinkling tes

Re: [Intel-gfx] [PATCH 0/7] drmtest framework support for retval handling

2013-08-12 Thread Daniel Vetter
On Mon, Aug 12, 2013 at 11:09:54AM +0200, Daniel Vetter wrote: > Hi all, > > So I've grown fed-up with our add-hoc (and pretty much always buggy) return > value tracking for testcases with subtests. Furthermore sprinkling testcases > with tons of if (kernel_has_some_optional_feature) return 77; is

[Intel-gfx] [PATCH 0/7] drmtest framework support for retval handling

2013-08-12 Thread Daniel Vetter
Hi all, So I've grown fed-up with our add-hoc (and pretty much always buggy) return value tracking for testcases with subtests. Furthermore sprinkling testcases with tons of if (kernel_has_some_optional_feature) return 77; isn't really helping test case readability. So I've gone ahead and impleme