diff options
author | Andrew Kaster <andrewdkaster@gmail.com> | 2021-05-21 05:30:00 -0600 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-21 22:59:07 +0100 |
commit | 467ceb15aab4aa9220ef8b00a34141045329b5ff (patch) | |
tree | 041cfc227e4d75c6753cec5fe379c0a80112ba88 /Base | |
parent | b86d59793855351487f9b49ca10a8f6351ad96db (diff) | |
download | serenity-467ceb15aab4aa9220ef8b00a34141045329b5ff.zip |
Base/CI: Create and check test-results.log file for on-target tests
Change run-tests-and-shutdown.sh to output a dead simple results file
that just records how many tests failed.
In the CI script, mount the _disk_image after running tests and verify
that the number of failed tests is 0. Otherwise, fail the build :^)
While we're here, bump the timeout for the tests up to 30 minutes, to
make sure that less powerful runners don't fail the job unecessarily.
Diffstat (limited to 'Base')
-rwxr-xr-x | Base/home/anon/tests/run-tests-and-shutdown.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Base/home/anon/tests/run-tests-and-shutdown.sh b/Base/home/anon/tests/run-tests-and-shutdown.sh index 0abd0a86f6..9bbcf00b1a 100755 --- a/Base/home/anon/tests/run-tests-and-shutdown.sh +++ b/Base/home/anon/tests/run-tests-and-shutdown.sh @@ -47,6 +47,8 @@ if test $fail_count -gt 0 { echo "==== Failing tests: $failed_tests ====" } +echo "Failed: $fail_count" > ./test-results.log + if test $DO_SHUTDOWN_AFTER_TESTS { shutdown -n } |