coverage: Use atomic profiling updates to avoid issues with multi-threaded test cases
This commit is contained in:
+1
-1
@@ -1361,7 +1361,7 @@ if test x$coverage = xtrue; then
|
|||||||
AC_MSG_ERROR([genhtml not found])
|
AC_MSG_ERROR([genhtml not found])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
|
COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage -fprofile-update=atomic"
|
||||||
COVERAGE_LDFLAGS="-fprofile-arcs"
|
COVERAGE_LDFLAGS="-fprofile-arcs"
|
||||||
AC_SUBST(COVERAGE_CFLAGS)
|
AC_SUBST(COVERAGE_CFLAGS)
|
||||||
AC_SUBST(COVERAGE_LDFLAGS)
|
AC_SUBST(COVERAGE_LDFLAGS)
|
||||||
|
|||||||
Reference in New Issue
Block a user