mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
Base: Set $LLVM_PROFILE_FILE before running run-tests
Set LLVM_PROFILE_FILE to a pattern that is easily extractable as "these are the profile data files we generated while running tests" for later post-processing.
This commit is contained in:
parent
f08e91f67e
commit
0e45b21e45
Notes:
sideshowbarker
2024-07-17 11:23:34 +09:00
Author: https://github.com/ADKaster
Commit: 0e45b21e45
Pull-request: https://github.com/SerenityOS/serenity/pull/12881
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bgianfo
Reviewed-by: https://github.com/kleinesfilmroellchen
1 changed files with 4 additions and 0 deletions
|
@ -3,9 +3,13 @@
|
||||||
echo
|
echo
|
||||||
echo "==== Running Tests on SerenityOS ===="
|
echo "==== Running Tests on SerenityOS ===="
|
||||||
|
|
||||||
|
export LLVM_PROFILE_FILE="$HOME/profiles/%p-profile.profraw"
|
||||||
|
|
||||||
run-tests --show-progress=false
|
run-tests --show-progress=false
|
||||||
fail_count=$?
|
fail_count=$?
|
||||||
|
|
||||||
|
unset LLVM_PROFILE_FILE
|
||||||
|
|
||||||
echo "Failed: $fail_count" > ./test-results.log
|
echo "Failed: $fail_count" > ./test-results.log
|
||||||
|
|
||||||
if test $DO_SHUTDOWN_AFTER_TESTS {
|
if test $DO_SHUTDOWN_AFTER_TESTS {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue