Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel

2019-02-09 Thread Brendan Higgins
On Tue, Dec 11, 2018 at 9:02 AM Anton Ivanov wrote: > > > On 12/11/18 2:41 PM, Steven Rostedt wrote: > > On Tue, 11 Dec 2018 15:09:26 +0100 > > Petr Mladek wrote: > > > >>> We have liburcu already, which is good. The main sticking points are: > >>> > >>> - printk has started adding a lot of %p

Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel

2018-12-11 Thread Steven Rostedt
On Tue, 11 Dec 2018 15:09:26 +0100 Petr Mladek wrote: > > We have liburcu already, which is good. The main sticking points are: > > > > - printk has started adding a lot of %pX enhancements which printf > >obviously doesn't know about. > > I wonder how big problem it is and if it is wor

Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel

2018-12-10 Thread Kent Overstreet
On Thu, Dec 06, 2018 at 12:32:47PM +, Kieran Bingham wrote: > Oh - although, yes - there are some good concepts there - but I'm a bit > weary of how easy it would be to 'run' the said test against multiple > kernel version libraries... there would be a lot of possible ABI > conflicts perhaps. >

Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel

2018-12-07 Thread Kieran Bingham
Hi Matthew, On 06/12/2018 15:37, Matthew Wilcox wrote: > On Thu, Dec 06, 2018 at 12:32:47PM +, Kieran Bingham wrote: >> On 04/12/2018 20:47, Luis Chamberlain wrote: >>> On Mon, Dec 03, 2018 at 03:48:15PM -0800, Brendan Higgins wrote: On Thu, Nov 29, 2018 at 5:54 AM Kieran Bingham wr

Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel

2018-12-07 Thread Matthew Wilcox
On Thu, Dec 06, 2018 at 12:32:47PM +, Kieran Bingham wrote: > On 04/12/2018 20:47, Luis Chamberlain wrote: > > On Mon, Dec 03, 2018 at 03:48:15PM -0800, Brendan Higgins wrote: > >> On Thu, Nov 29, 2018 at 5:54 AM Kieran Bingham > >> wrote: > >>> > >>> Hi Brendan, > >>> > >>> Thanks again for t

Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel

2018-12-06 Thread Luis Chamberlain
On Thu, Dec 06, 2018 at 12:32:47PM +, Kieran Bingham wrote: > My main initial idea for a libumlinux is to provide infrastructure such > as our linked-lists and other kernel formatting so that we can take > kernel code directly to userspace for test and debug (assuming that > there are no hardwa

Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel

2018-12-06 Thread Kieran Bingham
Hi Luis, On 04/12/2018 20:47, Luis Chamberlain wrote: > On Mon, Dec 03, 2018 at 03:48:15PM -0800, Brendan Higgins wrote: >> On Thu, Nov 29, 2018 at 5:54 AM Kieran Bingham >> wrote: >>> >>> Hi Brendan, >>> >>> Thanks again for this series! >>> >>> On 28/11/2018 19:36, Brendan Higgins wrote: T

Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel

2018-12-04 Thread Luis Chamberlain
On Mon, Dec 03, 2018 at 03:50:48PM -0800, Brendan Higgins wrote: > On Thu, Nov 29, 2018 at 7:44 PM Luis Chamberlain wrote: > > > > On Wed, Nov 28, 2018 at 11:36:28AM -0800, Brendan Higgins wrote: > > > The ultimate goal is to create minimal isolated test binaries; in the > > > meantime we are usin

Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel

2018-12-04 Thread Luis Chamberlain
On Mon, Dec 03, 2018 at 03:48:15PM -0800, Brendan Higgins wrote: > On Thu, Nov 29, 2018 at 5:54 AM Kieran Bingham > wrote: > > > > Hi Brendan, > > > > Thanks again for this series! > > > > On 28/11/2018 19:36, Brendan Higgins wrote: > > > The ultimate goal is to create minimal isolated test binari

Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel

2018-12-04 Thread Brendan Higgins
On Thu, Nov 29, 2018 at 7:44 PM Luis Chamberlain wrote: > > On Wed, Nov 28, 2018 at 11:36:28AM -0800, Brendan Higgins wrote: > > The ultimate goal is to create minimal isolated test binaries; in the > > meantime we are using UML to provide the infrastructure to run tests, so > > define an abstract

Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel

2018-12-04 Thread Brendan Higgins
On Thu, Nov 29, 2018 at 5:54 AM Kieran Bingham wrote: > > Hi Brendan, > > Thanks again for this series! > > On 28/11/2018 19:36, Brendan Higgins wrote: > > The ultimate goal is to create minimal isolated test binaries; in the > > meantime we are using UML to provide the infrastructure to run tests

Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel

2018-11-29 Thread Luis Chamberlain
On Wed, Nov 28, 2018 at 11:36:28AM -0800, Brendan Higgins wrote: > The ultimate goal is to create minimal isolated test binaries; in the > meantime we are using UML to provide the infrastructure to run tests, so > define an abstract way to configure and run tests that allow us to > change the conte

Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel

2018-11-29 Thread Kieran Bingham
Hi Brendan, Thanks again for this series! On 28/11/2018 19:36, Brendan Higgins wrote: > The ultimate goal is to create minimal isolated test binaries; in the > meantime we are using UML to provide the infrastructure to run tests, so > define an abstract way to configure and run tests that allow u

[RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel

2018-11-29 Thread Brendan Higgins
The ultimate goal is to create minimal isolated test binaries; in the meantime we are using UML to provide the infrastructure to run tests, so define an abstract way to configure and run tests that allow us to change the context in which tests are built without affecting the user. This also makes p