Fixing cov-tool -v option for llvm-cov COV_TOOL

parent c14d3453
...@@ -151,7 +151,7 @@ after_failure: ...@@ -151,7 +151,7 @@ after_failure:
after_success: after_success:
- cd ../Build-Debug - cd ../Build-Debug
- sudo su -c "echo '$COV_TOOL $COV_TOOL_ARGS \$@' > /usr/local/bin/cov-tool" && sudo chmod +x /usr/local/bin/cov-tool - sudo su -c "echo 'if [ $1 = "-v" ] ; then $COV_TOOL --version ; else $COV_TOOL $COV_TOOL_ARGS $@ ; fi' > /usr/local/bin/cov-tool" && sudo chmod +x /usr/local/bin/cov-tool
- lcov --capture --gcov-tool cov-tool --directory . --output-file coverage.info - lcov --capture --gcov-tool cov-tool --directory . --output-file coverage.info
- lcov --remove coverage.info '/usr/*' '*tests/*' '*googletest-release-1.7.0/*' --output-file coverage.info - lcov --remove coverage.info '/usr/*' '*tests/*' '*googletest-release-1.7.0/*' --output-file coverage.info
- lcov --list coverage.info - lcov --list coverage.info
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment