diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2022-01-05 02:17:45 -0800 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-01-07 01:19:09 -0800 |
commit | 6bf91d00eff87b8904239db5126165485741d731 (patch) | |
tree | ce49ed5cdc093e1ff09fde4e47c0ab388615ce6f /Base/etc/SystemServer.ini | |
parent | 856fc760837912e29bac5592ef76a22f9315e41c (diff) | |
download | serenity-6bf91d00eff87b8904239db5126165485741d731.zip |
run-tests: Make reproducing test failures behave closer to selftest mode
In CI / or local testing when you run `serenity.sh tests`, the system
will boot itself in self test mode, and the test runner will be launched
by SystemServer. Previously we were setting up settings for that
environment in the `SystemServer.ini`. This makes reproducing CI
failures a bit confusing, as the system will behavior differently if you
run in self-test mode, vs running `run-tests-and-shutdown.sh` or
`run-tests` manually in a session.
This change moves the settings to `run-tests`, so no matter how you try
to run the test runner, it will always behave the same.
Diffstat (limited to 'Base/etc/SystemServer.ini')
-rw-r--r-- | Base/etc/SystemServer.ini | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Base/etc/SystemServer.ini b/Base/etc/SystemServer.ini index 3a2a05a6eb..54bb9958b3 100644 --- a/Base/etc/SystemServer.ini +++ b/Base/etc/SystemServer.ini @@ -155,7 +155,7 @@ User=anon [TestRunner@ttyS0] Executable=/home/anon/tests/run-tests-and-shutdown.sh StdIO=/dev/ttyS0 -Environment=DO_SHUTDOWN_AFTER_TESTS=1 TERM=xterm PATH=/bin:/usr/bin:/usr/local/bin TESTS_ONLY=1 UBSAN_OPTIONS=halt_on_error=1 +Environment=DO_SHUTDOWN_AFTER_TESTS=1 TERM=xterm PATH=/bin:/usr/bin:/usr/local/bin User=anon WorkingDirectory=/home/anon SystemModes=self-test |