diff options
author | Willy Tarreau <w@1wt.eu> | 2022-07-19 23:44:47 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-08-31 05:17:45 -0700 |
commit | 662ea60e373be8a6b8a925b237cdb93a2af353c1 (patch) | |
tree | a0535e5e8e0ecfb95d82f3320b7e50ad493eb73e /tools/testing/radix-tree/linux/bug.h | |
parent | 5c43fd7954108bd138f7a1b4db4fb997ae1dc696 (diff) |
selftests/nolibc: add a "run" target to start the kernel in QEMU
The "run" target will build the kernel and start it in QEMU. The
"rerun" target will not have the kernel dependency and will just try
to start QEMU. The QEMU architecture used to start the kernel is
derived from the configured ARCH. This might need to be improved
for archs which include different variants under the same name
(mips vs mipsel, +/-64, riscv32 vs riscv64). This could be tested
for i386, x86, arm, arm64, mips and riscv (the later two reporting
issues on some tests).
It is possible to pass a test specification for nolibc-test in the TEST
variable, which will be passed as-is as NOLIBC_TEST.
On success, the number of successful tests is printed. On failure, failed
lines are individually printed.
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/testing/radix-tree/linux/bug.h')
0 files changed, 0 insertions, 0 deletions