Skip to content

Commit 74f1bbd

Browse files
committed
jenkins: set GCOV on Ubuntu to match CC/CXX
Code coverage runs `gcov` but this needs to match the version of gcc/g++ used.
1 parent f5228e6 commit 74f1bbd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jenkins/scripts/select-compiler.sh

+2
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,12 @@ elif [ "$SELECT_ARCH" = "X64" ]; then
168168
if [ "$NODEJS_MAJOR_VERSION" -gt "15" ]; then
169169
export CC="ccache gcc-8"
170170
export CXX="ccache g++-8"
171+
export GCOV="gcov-8"
171172
export LINK="g++-8"
172173
else
173174
export CC="ccache gcc-6"
174175
export CXX="ccache g++-6"
176+
export GCOV="gcov-6"
175177
export LINK="g++-6"
176178
fi
177179
echo "Compiler set to GCC" `$CXX -dumpversion`

0 commit comments

Comments
 (0)