@@ -20,11 +20,15 @@ set -ev
20
20
# AppVeyor ships Perl on its own and since we fetch our own lcov anyway, the
21
21
# MSYS insanity is not needed for ANYTHING AT ALL, in fact.
22
22
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
25
29
26
30
# 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