From: Evgeny Vereshchagin Date: Sun, 5 May 2019 22:15:28 +0000 (+0000) Subject: travis: make sure that the fuzz targets can be built on OSS-Fuzz X-Git-Tag: v243~588^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fcbabd0f9072ea80e750ee04109b2223e69369ca;p=platform%2Fupstream%2Fsystemd.git travis: make sure that the fuzz targets can be built on OSS-Fuzz --- diff --git a/travis-ci/managers/fuzzbuzz.sh b/travis-ci/managers/fuzzbuzz.sh index 607ef15..d3a91ea 100755 --- a/travis-ci/managers/fuzzbuzz.sh +++ b/travis-ci/managers/fuzzbuzz.sh @@ -8,3 +8,9 @@ wget https://app.fuzzbuzz.io/releases/cli/latest/linux/fuzzbuzz chmod +x fuzzbuzz ./fuzzbuzz validate ./fuzzbuzz target test fuzz-unit-file --all + +git clone https://github.com/google/oss-fuzz /tmp/oss-fuzz +cd /tmp/oss-fuzz +sudo ./infra/helper.py pull_images +sudo ./infra/helper.py build_fuzzers --clean --sanitizer=memory systemd $REPO_ROOT +sudo ./infra/helper.py check_build --sanitizer=memory systemd