Base: Add extra sync to run-tests-and-shutdown.sh

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.
This commit is contained in:
Andrew Kaster 2022-12-10 02:57:06 -07:00 committed by Linus Groh
parent 8940f2da7f
commit bee31d2f90
Notes: sideshowbarker 2024-07-17 05:13:53 +09:00

View file

@ -13,6 +13,7 @@ unset LLVM_PROFILE_FILE
echo "Failed: $fail_count" > ./test-results.log
if test $DO_SHUTDOWN_AFTER_TESTS {
sync
shutdown -n
}