kselftest framework runs as build time or run time tests ?

Greg KH greg at kroah.com
Tue Jun 30 21:04:04 EDT 2015


On Tue, Jun 30, 2015 at 07:34:42PM -0500, Victor Rodriguez wrote:
> HI team
> 
> Quick question , does kselftest:
> 
> https://kselftest.wiki.kernel.org/
> 
> Run on build time or run time ? I wonder because we want to implement it as
> part of our releases process ( which run on koji ) and honestly I don't want to
> run the tests against the kernel of the server , but on the kernel that we are
> building :)
> 
> I ran it from the top directory of the kernel and as far as I can see is
> running on build time , just wanted to double check with you

You run the scripts when you "build" them, but you are running the tests
on the kernel that is currently running on the system.  There are
patches outstanding to run the tests on a remote system, making
build/test cycles easier, but I don't they are all fully merged yet.

Hope this helps,

greg k-h



More information about the Kernelnewbies mailing list