From d284bcc4fe54162edbfd2fc664b08825e3450c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Sat, 12 May 2018 20:51:25 +0200 Subject: [PATCH] Filter out spammy messages from gcov 8.1.0 gcov 8 outputs **a lot** (gigabytes) of messages like ``` test_tile_elements.dir/test/tests/TestData.cpp.gcno:'main' has arcs to entry block test_tile_elements.dir/test/tests/TestData.cpp.gcno:'main' has arcs from exit block test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'main' has arcs to entry block test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'main' has arcs from exit block test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'_ZNK9__gnu_cxx13new_allocatorIcE8max_sizeEv' has arcs to entry block test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'_ZNK9__gnu_cxx13new_allocatorIcE8max_sizeEv' has arcs from exit block test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'_ZN9__gnu_cxx13new_allocatorIcE8allocateEjPKv' has arcs to entry block test_tile_elements.dir/test/tests/TileElements.cpp.gcno:'_ZN9__gnu_cxx13new_allocatorIcE8allocateEjPKv' has arcs from exit block ``` which we cannot alleviate, but they overload Travis' log size of 4MiB causing the jobs to get killed. This will simply silence those messages. --- scripts/linux/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/linux/build.sh b/scripts/linux/build.sh index 3890d0fd11..f481afcfdf 100755 --- a/scripts/linux/build.sh +++ b/scripts/linux/build.sh @@ -30,7 +30,7 @@ pushd build if [[ $TARGET == "docker64" ]] then # CMAKE and MAKE opts from environment - docker run $ci_env -v "$PARENT":"$PARENT" -w "$PARENT"/build -i -t openrct2/openrct2:64bit-only bash -c "cmake ../ -DWITH_TESTS=on $OPENRCT2_CMAKE_OPTS && ninja all install $OPENRCT_MAKE_OPTS && ./openrct2-cli scan-objects && ctest --output-on-failure && cd .. && bash <(curl -s https://codecov.io/bash)" + docker run $ci_env -v "$PARENT":"$PARENT" -w "$PARENT"/build -i -t openrct2/openrct2:64bit-only bash -c "cmake ../ -DWITH_TESTS=on $OPENRCT2_CMAKE_OPTS && ninja all install $OPENRCT_MAKE_OPTS && ./openrct2-cli scan-objects && ctest --output-on-failure && cd .. && bash <(curl -s https://codecov.io/bash) 2>\&1 | grep -v \"has arcs\"" elif [[ $TARGET == "ubuntu_i686" ]] then # CMAKE and MAKE opts from environment