1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 11:15:08 +00:00
serenity/Base/home/anon/Tests/run-tests-and-shutdown.sh
2022-03-20 22:20:59 +01: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