On Tue, 5 Sep 2017 19:20:43 +0200 Halil Pasic <pa...@linux.vnet.ibm.com> wrote:
> On 09/05/2017 05:46 PM, Cornelia Huck wrote: > > On Tue, 5 Sep 2017 17:24:19 +0200 > > Halil Pasic <pa...@linux.vnet.ibm.com> wrote: > >> Despite of that we already had a problem of this type: see 1728cff2ab > >> ("s390x/3270: fix instruction interception handler", 2017-06-09) by > >> Dong Jia. If we had some automated testing covering all the asserts > >> I would not think twice about using an assert here. But I don't think > >> we do and I'm reluctant (not positive that assert is superior to what > >> we have now). Maybe we could agree on reported by again. > > > > Yes, we (as in generally 'we') are really lacking automated testing... > > (it is somewhere on my todo list). > > > > Either leave it as-is, or do an assert. -ENODEV just feels wrong. > > > > I think I will leave this one as is and maybe try to discuss with > the folks here about reliable test coverage. Just spoke with Marc H., > and according to that we have a long way to go. Ideally, we want something that can be executed from 'make check'. We can already cover some basic stuff via tcg (I need to look into wiring up more stuff), people with access to hardware should be able to cover the rest. That's not to say that extensive in-house testing by you guys wouldn't be helpful, quite the contrary :)