Skip to content
Snippets Groups Projects
Commit 8fff7ef8 authored by loikki's avatar loikki
Browse files

Fix coverage

parent 77dbae49
Branches
No related tags found
1 merge request!41Fix coverage
Pipeline #166 failed
......@@ -191,6 +191,8 @@ if test "$enable_coverage" = "yes"; then
CXXFLAGS="$CXXFLAGS -fno-inline -fno-inline-small-functions -fno-default-inline"
# unused function is an issue without inlining
CXXFLAGS="$CXXFLAGS -Wno-unused-function"
# Add to linker
LDFLAGS="$LDFLAGS -lgov --coverage"
else
AC_MSG_ERROR(Cannot use coverage without gcc)
fi
......
#!/bin/bash
set -e
args=$@
if [ "$#" -eq 0 ]; then
echo "Running the full script"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment