Skip to content
Snippets Groups Projects
Commit 21e3d1c0 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Activating test coverage on IO

parent 1260793d
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,25 @@ else ...@@ -83,7 +83,25 @@ else
NVCCFLAGS+="$NVCCFLAGS -O3 " NVCCFLAGS+="$NVCCFLAGS -O3 "
fi fi
##### Enable test coverage
AC_MSG_CHECKING(whether to build with test coverage)
test_cov=no
AC_ARG_ENABLE(test-coverage,
AC_HELP_STRING(
[--enable-test-coverage],
[enable test coverage]
),
test_cov="$enableval"
)
AC_MSG_RESULT($test_cov)
if test x"$test_cov" = x"yes"; then
AC_DEFINE([TEST_COVERAGE_MODE],[],[Test coverage mode])
CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage "
fi
###### Check for se-class1 ###### Check for se-class1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment