mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 14:25:08 +00:00

We pass this to test-js, and since they share some common code, it makes sense to pass it to run-tests as well. This prevents the OSC 9 escape sequences from being emitted when running tests via the script.
15 lines
229 B
Bash
Executable file
15 lines
229 B
Bash
Executable file
#!/bin/sh
|
|
|
|
echo
|
|
echo "==== Running Tests on SerenityOS ===="
|
|
|
|
run-tests --show-progress=false
|
|
fail_count=$?
|
|
|
|
echo "Failed: $fail_count" > ./test-results.log
|
|
|
|
if test $DO_SHUTDOWN_AFTER_TESTS {
|
|
shutdown -n
|
|
}
|
|
|
|
exit $fail_count
|