mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 07:13:07 +01:00
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.
This commit is contained in:
@@ -30,7 +30,7 @@ pushd build
|
|||||||
if [[ $TARGET == "docker64" ]]
|
if [[ $TARGET == "docker64" ]]
|
||||||
then
|
then
|
||||||
# CMAKE and MAKE opts from environment
|
# 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" ]]
|
elif [[ $TARGET == "ubuntu_i686" ]]
|
||||||
then
|
then
|
||||||
# CMAKE and MAKE opts from environment
|
# CMAKE and MAKE opts from environment
|
||||||
|
|||||||
Reference in New Issue
Block a user