mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-16 12:52:46 +00:00
bee31d2f90
This shouldn't be necessary but reproducing the odd corrupted profile data from the nightly Azure runs is proving tricky locally. Hopefully this will mitigate the issue.
21 lines
325 B
Bash
Executable file
21 lines
325 B
Bash
Executable file
#!/bin/sh
|
|
|
|
echo
|
|
echo "==== Running Tests on SerenityOS ===="
|
|
|
|
export LLVM_PROFILE_FILE="$HOME/profiles/%p-profile.profraw"
|
|
|
|
run-tests --show-progress=false
|
|
fail_count=$?
|
|
|
|
unset LLVM_PROFILE_FILE
|
|
|
|
echo "Failed: $fail_count" > ./test-results.log
|
|
|
|
if test $DO_SHUTDOWN_AFTER_TESTS {
|
|
sync
|
|
shutdown -n
|
|
}
|
|
|
|
exit $fail_count
|