mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
Everywhere: Move tests to /home/anon/Tests
This commit is contained in:
parent
16bee0ba79
commit
95b295971d
Notes:
sideshowbarker
2024-07-17 18:38:54 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/95b295971d Pull-request: https://github.com/SerenityOS/serenity/pull/13161
4 changed files with 5 additions and 5 deletions
|
@ -154,7 +154,7 @@ KeepAlive=false
|
|||
User=anon
|
||||
|
||||
[TestRunner@ttyS0]
|
||||
Executable=/home/anon/tests/run-tests-and-shutdown.sh
|
||||
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
|
||||
User=anon
|
||||
|
|
|
@ -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.
|
||||
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
```
|
||||
courage ~ $ ./tests/run-tests-and-shutdown.sh
|
||||
courage ~ $ ./Tests/run-tests-and-shutdown.sh
|
||||
=== Running Tests on SerenityOS ===
|
||||
...
|
||||
```
|
||||
|
@ -96,7 +96,7 @@ The system server entry looks as below:
|
|||
|
||||
```ini
|
||||
[TestRunner@ttyS0]
|
||||
Executable=/home/anon/tests/run-tests-and-shutdown.sh
|
||||
Executable=/home/anon/Tests/run-tests-and-shutdown.sh
|
||||
StdIO=/dev/ttyS0
|
||||
Environment=DO_SHUTDOWN_AFTER_TESTS=1 TERM=xterm PATH=/usr/local/bin:/usr/bin:/bin
|
||||
User=anon
|
||||
|
|
|
@ -11,7 +11,7 @@ if [ "$#" -eq "0" ]; then
|
|||
'*.sh' \
|
||||
':!:Ports' \
|
||||
':!:Userland/Shell/Tests' \
|
||||
':!:Base/home/anon/tests' \
|
||||
':!:Base/home/anon/Tests' \
|
||||
':!:Base/root/generate_manpages.sh'
|
||||
)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue