[njs] Fix coverage build and exclude pcre sources from coverage report (#2481).

This commit is contained in:
Max Moroz 2019-06-06 07:44:27 -07:00
parent c9bb73a407
commit 755518f802
2 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,7 @@
# Build pcre dependency to be linked statically.
pushd $SRC/pcre
./autogen.sh
./configure
CFLAGS="$CFLAGS -fno-use-cxa-atexit" CXXFLAGS="$CXXFLAGS -fno-use-cxa-atexit" ./configure
make -j$(nproc) clean
make -j$(nproc) all
popd

View File

@ -6,3 +6,4 @@ sanitizers:
- address
- memory
- undefined
coverage_extra_args: -ignore-filename-regex=.*/pcre/.*