Skip to contentSkip to conversation

How do you test Linux kernel?

DISCUSSION Aleksander Alekseev 3 participants 3 messages Jul 20, 2016

lore
Share & tools
lore
#0 lore raw

Hello

It is my understanding that Linux kernel doesn't has usual make check or make test command. There are LTP [1] and other related projects instead. Could you tell me please what test suits (if any) do _you_ run in practice?

[1] http://linux-test-project.github.io/

Signature · 2 lines
Best regards,
Aleksander Alekseev
#1 lore raw
Quoted 4 lines · Aleksander Alekseev

Hello

It is my understanding that Linux kernel doesn't has usual make check or make test command.

It doesn't? Have you checked?

$ make help | grep test
Kernel selftest
  kselftest       - Build and run kernel selftest (run as root)
                    running kselftest on it
  kselftest-clean - Remove all generated kselftest files
  kselftest-merge - Merge all the config dependencies of kselftest to existed
Quoted 3 lines

There are LTP [1] and other related projects
instead. Could you tell me please what test suits (if any) do _you_ run in practice?

It depends on what changes you make, to determine how you test it.

thanks,

greg k-h

#2 lore raw
In reply to Aleksander Alekseev

Hi!

On Wed, 2016-07-20 at 14:19 +0300, Aleksander Alekseev wrote:
[...]

Quoted 3 lines

It is my understanding that Linux kernel doesn't has usual make check
or make test command.

If it is usual, which other software project with the same scale/volume and complexity range has that actually and if it exists - even more important - how useful is that?

Kind regards,
Bernd

Signature · 2 lines
Bernd Petrovitsch                  Email : bernd at petrovitsch.priv.at
                     LUGA : http://www.luga.at