1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 14:25:08 +00:00
serenity/Base/home/anon/tests/run-tests-and-shutdown.sh
Andrew Kaster ad0b8b42eb Base: Pass show-progress=false to run-tests to avoid confusing CI
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.
2021-07-06 17:22:45 +02:00

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