Meta: Manually redirect CI serial output to stdout

`-nographic` additionally reconfigures the Terminal, which clears the
previous scrollback and (ocasionally) breaks line wrapping. This is
probably not something that we want, so only ask for the redirection
behavior.
This commit is contained in:
Tim Schumacher 2023-10-06 14:56:34 +02:00
parent 03fbd6c0c8
commit acc0fb7a47
2 changed files with 3 additions and 3 deletions

View file

@ -106,7 +106,7 @@ SystemModes=self-test
```
`/dev/ttyS0` is used as stdio because that serial port is connected when qemu is run with `-display none` and
`-nographic`, and output to it will show up in the stdout of the qemu window. Separately, the CI run script redirects
`-serial mon:stdio`, and output to it will show up in the stdout of the qemu window. Separately, the CI run script redirects
the serial debug output to `./debug.log` so that both stdout of the tests and the dbgln from the kernel/tests can be
captured.

View file

@ -523,7 +523,7 @@ elif [ "$SERENITY_RUN" = "ci" ]; then
-M raspi3b \
-d guest_errors \
-no-reboot \
-nographic \
-serial mon:stdio \
-monitor none \
-display none \
-serial file:debug.log \
@ -541,7 +541,7 @@ elif [ "$SERENITY_RUN" = "ci" ]; then
-no-reboot \
-smp ${SERENITY_CPUS} \
-device ich9-ahci \
-nographic \
-serial mon:stdio \
-display none \
-debugcon file:debug.log \
$SERENITY_KERNEL_AND_INITRD \