From mboxrd@z Thu Jan 1 00:00:00 1970 From: brendanhiggins at google.com (Brendan Higgins) Date: Mon, 3 Dec 2018 15:50:48 -0800 Subject: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel In-Reply-To: <20181130034425.GO18410@garbanzo.do-not-panic.com> References: <20181128193636.254378-1-brendanhiggins@google.com> <20181128193636.254378-12-brendanhiggins@google.com> <20181130034425.GO18410@garbanzo.do-not-panic.com> Message-ID: 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 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 pretty and dynamic error reporting, and a lot of other > > nice features easier. > > > > kunit_config.py: > > - parse .config and Kconfig files. > > > > > > kunit_kernel.py: provides helper functions to: > > - configure the kernel using kunitconfig. > > We get the tools to run the config stuff, build, etc, but not a top > level 'make kunitconfig' or whatever. We have things like 'make > kvmconfig' and 'make xenconfig', I think it would be reasonable to > add similar for this. Are you just asking for a defconfig for KUnit, or are you asking for a way to run KUnit from make? From mboxrd@z Thu Jan 1 00:00:00 1970 From: brendanhiggins@google.com (Brendan Higgins) Date: Mon, 3 Dec 2018 15:50:48 -0800 Subject: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel In-Reply-To: <20181130034425.GO18410@garbanzo.do-not-panic.com> References: <20181128193636.254378-1-brendanhiggins@google.com> <20181128193636.254378-12-brendanhiggins@google.com> <20181130034425.GO18410@garbanzo.do-not-panic.com> Message-ID: Content-Type: text/plain; charset="UTF-8" Message-ID: <20181203235048.sgUYctABrFQbK60Fk4eCwrxBjPiMGbcEbCjZUYxnE2A@z> On Thu, Nov 29, 2018@7:44 PM Luis Chamberlain wrote: > > On Wed, Nov 28, 2018@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 context in which tests are built without affecting the user. > > This also makes pretty and dynamic error reporting, and a lot of other > > nice features easier. > > > > kunit_config.py: > > - parse .config and Kconfig files. > > > > > > kunit_kernel.py: provides helper functions to: > > - configure the kernel using kunitconfig. > > We get the tools to run the config stuff, build, etc, but not a top > level 'make kunitconfig' or whatever. We have things like 'make > kvmconfig' and 'make xenconfig', I think it would be reasonable to > add similar for this. Are you just asking for a defconfig for KUnit, or are you asking for a way to run KUnit from make?