You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2018/08/06 19:40:16 UTC
[arrow] 01/15: ARROW-2813: [CI] Mute uninformative lcov warnings
This is an automated email from the ASF dual-hosted git repository.
wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
commit 0f5fb20ca896b5b3aacfe7c67f8df0385acea6d6
Author: Antoine Pitrou <an...@python.org>
AuthorDate: Fri Aug 3 22:23:10 2018 -0400
ARROW-2813: [CI] Mute uninformative lcov warnings
Author: Antoine Pitrou <an...@python.org>
Closes #2367 from pitrou/ARROW-2813-mute-lcov-output and squashes the following commits:
19a4f661 <Antoine Pitrou> ARROW-2813: Mute uninformative lcov warnings
---
ci/travis_script_cpp.sh | 3 ++-
ci/travis_script_python.sh | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ci/travis_script_cpp.sh b/ci/travis_script_cpp.sh
index eedca98..3a6b2f7 100755
--- a/ci/travis_script_cpp.sh
+++ b/ci/travis_script_cpp.sh
@@ -30,6 +30,7 @@ popd
# Capture C++ coverage info (we wipe the build dir in travis_script_python.sh)
if [ "$ARROW_TRAVIS_COVERAGE" == "1" ]; then
pushd $TRAVIS_BUILD_DIR
- lcov --quiet --directory . --capture --no-external --output-file $ARROW_CPP_COVERAGE_FILE
+ lcov --quiet --directory . --capture --no-external --output-file $ARROW_CPP_COVERAGE_FILE \
+ 2>&1 | grep -v "WARNING: no data found for /usr/include"
popd
fi
diff --git a/ci/travis_script_python.sh b/ci/travis_script_python.sh
index 0743f86..53dd36c 100755
--- a/ci/travis_script_python.sh
+++ b/ci/travis_script_python.sh
@@ -155,7 +155,8 @@ if [ "$ARROW_TRAVIS_COVERAGE" == "1" ]; then
coverage xml -i -o $TRAVIS_BUILD_DIR/coverage.xml
# Capture C++ coverage info and combine with previous coverage file
pushd $TRAVIS_BUILD_DIR
- lcov --quiet --directory . --capture --no-external --output-file coverage-python-tests.info
+ lcov --quiet --directory . --capture --no-external --output-file coverage-python-tests.info \
+ 2>&1 | grep -v "WARNING: no data found for /usr/include"
lcov --add-tracefile coverage-python-tests.info \
--add-tracefile $ARROW_CPP_COVERAGE_FILE \
--output-file $ARROW_CPP_COVERAGE_FILE