1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 00:57:36 +00:00

Kernel: Separate panic behavior from bootmode

Bootmode used to control panic behavior and SystemServer.
This patch factors panic behavior control into a separate flag.
This commit is contained in:
Ben Wiederhake 2021-10-23 17:31:00 +02:00 committed by Andreas Kling
parent 542a88a7be
commit 09432a8241
8 changed files with 37 additions and 6 deletions

View file

@ -110,7 +110,8 @@ the serial debug output to `./debug.log` so that both stdout of the tests and th
captured.
To run with CI's TestRunner system server entry, SerenityOS needs booted in self-test mode. Running the following shell
lines will boot SerenityOS in self-test mode, run tests, and exit.
lines will boot SerenityOS in self-test mode, run tests, and exit. Note that CI also sets `panic=shutdown` to terminate qemu;
the default value `halt` keeps qemu around, which allows you to inspect the state.
```sh
export SERENITY_RUN=ci