diff options
author | Sevinj Aghayeva <sevinj.aghayeva@gmail.com> | 2022-04-14 19:09:23 -0400 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-04-15 17:04:37 +0200 |
commit | 7973b9d099599bdde375065d25514d4f21295bba (patch) | |
tree | 4b4552b0df327a38aff4b128a279101eb16a0709 /web/demo.sh | |
parent | 020418423b8385959470e287373f3b1811fa2eac (diff) | |
download | mbuto-7973b9d099599bdde375065d25514d4f21295bba.tar mbuto-7973b9d099599bdde375065d25514d4f21295bba.tar.gz mbuto-7973b9d099599bdde375065d25514d4f21295bba.tar.bz2 mbuto-7973b9d099599bdde375065d25514d4f21295bba.tar.lz mbuto-7973b9d099599bdde375065d25514d4f21295bba.tar.xz mbuto-7973b9d099599bdde375065d25514d4f21295bba.tar.zst mbuto-7973b9d099599bdde375065d25514d4f21295bba.zip |
mbuto: support building a minimal image for kernel selftests
Add suboption -C for the case of -p kselftests for choosing a test
collection to run. For example, specifying "-p kselftests -C net"
creates an image that contains only the tests from the net collection
and only the kernel modules needed to run those tests.
If there are missing modules for running the tests, a warning will be
emitted showing missing modules names. The -C option is similar to
the -c option of run_kselftests.sh, but unlike run_kselftest.sh's
option it currently doesn't support specifying multiple collections.
This will be fixed later.
Also add suboption -T for the case of -p kselftests for choosing a
specific test. For example, specifying:
-p kselftests -T net:ip_defrag.sh"
create an image that runs only the single test when booted. This
option is also similar to run_kselftest.sh's -t option, but it
lacks some functionality, which will be added later.
Signed-off-by: Sevinj Aghayeva <sevinj.aghayeva@gmail.com>
v1 -> v2: Update TOOLS, Use variable names for commands, and use capitalized
versions of run_kselftests.sh options (-C and -T).
Diffstat (limited to 'web/demo.sh')
0 files changed, 0 insertions, 0 deletions