Skip to content

Commit 63a5f4b

Browse files
committed
Revert "package/ci: use lcov 1.15 on MinGW."
It actually doesn't work at all! How nice to discover this EIGHT MONTHS after making such change, for a completely unrelated reason. This reverts commit 0b8ab1a.
1 parent e536ff3 commit 63a5f4b

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

package/ci/appveyor-lcov.sh

+10-6
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@ set -ev
2020
# AppVeyor ships Perl on its own and since we fetch our own lcov anyway, the
2121
# MSYS insanity is not needed for ANYTHING AT ALL, in fact.
2222

23-
wget https://github.com/linux-test-project/lcov/archive/v1.15.tar.gz
24-
tar -xzf v1.15.tar.gz
23+
# Important: 1.13 is the only version that actually works. 1.15 doesn't, tries
24+
# to find the original source files in build/.../CMakeFiles/src/Corrade and
25+
# results in a zero-byte coverage being happily uploaded, with no error message
26+
# produced whatsoever. How nice.
27+
wget https://github.com/linux-test-project/lcov/archive/v1.13.tar.gz
28+
tar -xzf v1.13.tar.gz
2529

2630
# Keep in sync with PKBUILD-coverage and circleci.yml, please
27-
lcov-1.15/bin/lcov --gcov-tool /c/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/gcov --directory . --capture --output-file coverage.info > /dev/null
28-
lcov-1.15/bin/lcov --gcov-tool /c/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/gcov --extract coverage.info "*/src/Corrade/*" --output-file coverage.info > /dev/null
29-
lcov-1.15/bin/lcov --gcov-tool /c/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/gcov --remove coverage.info "*/Test/*" --output-file coverage.info > /dev/null
30-
lcov-1.15/bin/lcov --gcov-tool /c/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/gcov --remove coverage.info "*/build/src/Corrade/*" --output-file coverage.info > /dev/null
31+
lcov-1.13/bin/lcov --gcov-tool /c/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/gcov --directory . --capture --output-file coverage.info > /dev/null
32+
lcov-1.13/bin/lcov --gcov-tool /c/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/gcov --extract coverage.info "*/src/Corrade/*" --output-file coverage.info > /dev/null
33+
lcov-1.13/bin/lcov --gcov-tool /c/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/gcov --remove coverage.info "*/Test/*" --output-file coverage.info > /dev/null
34+
lcov-1.13/bin/lcov --gcov-tool /c/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/gcov --remove coverage.info "*/build/src/Corrade/*" --output-file coverage.info > /dev/null

0 commit comments

Comments
 (0)