summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2023-04-21 20:38:24 -0600
committerFederico Mena Quintero <federico@gnome.org>2023-04-21 20:38:24 -0600
commitfc538824008ed0fed97e291fd53bc7e4502f1938 (patch)
tree6703e6b84120de5c55bcd07eb85fbaad7550c434
parent14ce5708f6a6dd9b211b32a5d3471f9bf41c9fda (diff)
downloadlibrsvg-fc538824008ed0fed97e291fd53bc7e4502f1938.tar.gz
CI: use the correct path for the coverage profiles
They were being written to ./rsvg/coverage-profiles instead of ./coverage-profiles, which is what the gen-coverage.sh script expects. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/822>
-rw-r--r--ci/build-with-coverage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/build-with-coverage.sh b/ci/build-with-coverage.sh
index 134c9fde..372802dd 100644
--- a/ci/build-with-coverage.sh
+++ b/ci/build-with-coverage.sh
@@ -10,7 +10,7 @@ export CC="clang"
export CFLAGS="-coverage -ftest-coverage -fprofile-arcs"
# RUSTFLAGS: "-Cinstrument-coverage"
export RUSTDOCFLAGS="-Cinstrument-coverage"
-export LLVM_PROFILE_FILE="coverage-profiles/coverage-%p-%m.profraw"
+export LLVM_PROFILE_FILE="$(pwd)/coverage-profiles/coverage-%p-%m.profraw"
export LDFLAGS="--coverage -L/usr/lib64/clang/$clang_version/lib/linux"
export LIBS="-lclang_rt.profile-x86_64"
export RUSTC_BOOTSTRAP="1" # hack to make -Zprofile work on the non-nightly compiler