From fc538824008ed0fed97e291fd53bc7e4502f1938 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Fri, 21 Apr 2023 20:38:24 -0600 Subject: 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: --- ci/build-with-coverage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1