kselftest framework runs as build time or run time tests ?
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 Best regards Victor Rodriguez
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
On Tue, Jun 30, 2015 at 8:04 PM, Greg KH <greg@kroah.com> wrote:
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
Thanks a lot Greg . .yea it helps a lot . I will bot a micro vm with the kernel under test and run the test inside . I was looking for build time test for Kernel. Arjan told me is not usual now I can realize he is right :) Thanks a lot Regards Victor Rodriguez Clear Linux OS developer www.clearlinux.org
participants (2)
-
Greg KH -
Victor Rodriguez