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

Fix coverage

parent 77dbae49
No related branches found
No related tags found
1 merge request!41Fix coverage
Pipeline #166 failed
...@@ -191,6 +191,8 @@ if test "$enable_coverage" = "yes"; then ...@@ -191,6 +191,8 @@ if test "$enable_coverage" = "yes"; then
CXXFLAGS="$CXXFLAGS -fno-inline -fno-inline-small-functions -fno-default-inline" CXXFLAGS="$CXXFLAGS -fno-inline -fno-inline-small-functions -fno-default-inline"
# unused function is an issue without inlining # unused function is an issue without inlining
CXXFLAGS="$CXXFLAGS -Wno-unused-function" CXXFLAGS="$CXXFLAGS -Wno-unused-function"
# Add to linker
LDFLAGS="$LDFLAGS -lgov --coverage"
else else
AC_MSG_ERROR(Cannot use coverage without gcc) AC_MSG_ERROR(Cannot use coverage without gcc)
fi fi
......
#!/bin/bash #!/bin/bash
set -e
args=$@ args=$@
if [ "$#" -eq 0 ]; then if [ "$#" -eq 0 ]; then
echo "Running the full script" 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