travis: Run fuzz targets
This commit is contained in:
@@ -60,6 +60,8 @@ matrix:
|
|||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
env: TEST=win32 MONOLITHIC=yes
|
env: TEST=win32 MONOLITHIC=yes
|
||||||
dist: precise
|
dist: precise
|
||||||
|
- compiler: clang
|
||||||
|
env: TEST=fuzzing MONOLITHIC=yes
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
os: osx
|
os: osx
|
||||||
env: TEST=osx
|
env: TEST=osx
|
||||||
|
|||||||
@@ -121,6 +121,19 @@ osx)
|
|||||||
export CPPFLAGS
|
export CPPFLAGS
|
||||||
export LDFLAGS
|
export LDFLAGS
|
||||||
;;
|
;;
|
||||||
|
fuzzing)
|
||||||
|
CFLAGS="$CFLAGS -DNO_CHECK_MEMWIPE"
|
||||||
|
CONFIG="--enable-fuzzing --enable-static --disable-shared --disable-scripts"
|
||||||
|
# don't run any of the unit tests
|
||||||
|
export TESTS_RUNNERS=
|
||||||
|
# prepare corpora
|
||||||
|
if test -z "$1"; then
|
||||||
|
if test -z "$FUZZING_CORPORA"; then
|
||||||
|
git clone --depth 1 https://github.com/strongswan/fuzzing-corpora.git fuzzing-corpora
|
||||||
|
export FUZZING_CORPORA=$TRAVIS_BUILD_DIR/fuzzing-corpora
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
;;
|
||||||
dist)
|
dist)
|
||||||
TARGET=distcheck
|
TARGET=distcheck
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user