Re: [PATCH] Documentation/kselftest.txt improvement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Aleksander Alekseev <afiskon@xxxxxxxxx> writes:

> Hello.
>
> Suggested patch solves two issues:
>
> 1) Currently documentation is unclear whether `make kselftest` should
> be run before or after kernel was installed and booted. `make help`
> gives a clear answer on that: "kselftest - Build and run kernel selftest
> (run as root). Build, install, and boot kernel before running kselftest
> on it."
...
> --- a/Documentation/kselftest.txt
> +++ b/Documentation/kselftest.txt
> @@ -1,8 +1,9 @@
>  Linux Kernel Selftests
>  
>  The kernel contains a set of "self tests" under the tools/testing/selftests/
> -directory. These are intended to be small unit tests to exercise individual
> -code paths in the kernel.
> +directory. These are intended to be small tests to exercise individual code
> +paths in the kernel. User supposed to run these tests after building,
> +installing and booting a kernel.

Actually most of them are not really meant to be run by "users". Rather
they're meant for kernel developers to test things.

Also some of them don't exercise code paths "in the kernel", they build
kernel code into userspace tests and run those.

cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux