Make the kdebug test use the terminal output.

Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
This commit is contained in:
Andrew G. Morgan 2025-05-06 23:17:09 -07:00
parent 9a84906efe
commit 53b369b8ea

View File

@ -12,11 +12,18 @@ function die {
exit 1
}
# make clean will wipe out the interactive file, so remember to put it back.
if [[ -f "${HERE}/interactive" ]]; then
want_interactive=1
fi
pushd ..
make LIBCSTATIC=yes all test || die "failed to make all test of libcap tree"
make LIBCSTATIC=yes clean all test || die "failed to make all test of libcap tree"
make LIBCSTATIC=yes -C progs tcapsh-static || die "failed to make progs/tcapsh-static"
make -C tests uns_test
popd
if [[ "${want_interactive}" -eq 1 ]]; then
touch "${HERE}/interactive"
fi
# Assumes desired make *config (eg. make defconfig) is already done.
pushd $KBASE
@ -79,6 +86,7 @@ KERNEL=$KBASE/arch/$(uname -m)/boot/bzImage
qemu-system-$(uname -m) -m 1024 \
-kernel $KERNEL \
-initrd initramfs.img \
-append "$APPEND" \
-append "$APPEND console=ttyS0" \
-smp sockets=2,dies=1,cores=4 \
-device isa-debug-exit
-device isa-debug-exit \
-nographic -serial mon:stdio