1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:58:11 +00:00

Everywhere: Move tests to /home/anon/Tests

This commit is contained in:
Brian Gianforcaro 2022-03-20 11:55:50 -07:00 committed by Andreas Kling
parent 16bee0ba79
commit 95b295971d
4 changed files with 5 additions and 5 deletions

View file

@ -154,7 +154,7 @@ KeepAlive=false
User=anon User=anon
[TestRunner@ttyS0] [TestRunner@ttyS0]
Executable=/home/anon/tests/run-tests-and-shutdown.sh Executable=/home/anon/Tests/run-tests-and-shutdown.sh
StdIO=/dev/ttyS0 StdIO=/dev/ttyS0
Environment=DO_SHUTDOWN_AFTER_TESTS=1 TERM=xterm PATH=/bin:/usr/bin:/usr/local/bin Environment=DO_SHUTDOWN_AFTER_TESTS=1 TERM=xterm PATH=/bin:/usr/bin:/usr/local/bin
User=anon User=anon

View file

@ -69,7 +69,7 @@ Tests built for the SerenityOS target get installed either into `/usr/Tests` or
some system tests are installed into `/bin` for historical reasons. some system tests are installed into `/bin` for historical reasons.
The easiest way to run all of the known tests in the system is to use the `run-tests-and-shutdown.sh` script that gets The easiest way to run all of the known tests in the system is to use the `run-tests-and-shutdown.sh` script that gets
installed into `/home/anon/tests`. When running in CI, the environment variable `$DO_SHUTDOWN_AFTER_TESTS` is set, which installed into `/home/anon/Tests`. When running in CI, the environment variable `$DO_SHUTDOWN_AFTER_TESTS` is set, which
will run `shutdown -n` after running all the tests. will run `shutdown -n` after running all the tests.
For completeness, a basic on-target test run will need the SerenityOS image built and run via QEMU. For completeness, a basic on-target test run will need the SerenityOS image built and run via QEMU.
@ -84,7 +84,7 @@ ninja install && ninja image && ninja run
In the initial terminal, one can easily run the test runner script: In the initial terminal, one can easily run the test runner script:
``` ```
courage ~ $ ./tests/run-tests-and-shutdown.sh courage ~ $ ./Tests/run-tests-and-shutdown.sh
=== Running Tests on SerenityOS === === Running Tests on SerenityOS ===
... ...
``` ```
@ -96,7 +96,7 @@ The system server entry looks as below:
```ini ```ini
[TestRunner@ttyS0] [TestRunner@ttyS0]
Executable=/home/anon/tests/run-tests-and-shutdown.sh Executable=/home/anon/Tests/run-tests-and-shutdown.sh
StdIO=/dev/ttyS0 StdIO=/dev/ttyS0
Environment=DO_SHUTDOWN_AFTER_TESTS=1 TERM=xterm PATH=/usr/local/bin:/usr/bin:/bin Environment=DO_SHUTDOWN_AFTER_TESTS=1 TERM=xterm PATH=/usr/local/bin:/usr/bin:/bin
User=anon User=anon

View file

@ -11,7 +11,7 @@ if [ "$#" -eq "0" ]; then
'*.sh' \ '*.sh' \
':!:Ports' \ ':!:Ports' \
':!:Userland/Shell/Tests' \ ':!:Userland/Shell/Tests' \
':!:Base/home/anon/tests' \ ':!:Base/home/anon/Tests' \
':!:Base/root/generate_manpages.sh' ':!:Base/root/generate_manpages.sh'
) )
else else