]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
travis: make sure that the fuzz targets can be built on OSS-Fuzz 11887/head
authorEvgeny Vereshchagin <evvers@ya.ru>
Sun, 5 May 2019 22:15:28 +0000 (22:15 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Tue, 7 May 2019 21:39:01 +0000 (21:39 +0000)
travis-ci/managers/fuzzbuzz.sh

index 607ef155efb57147370a4c9a56eb0b16296dc3c7..d3a91ea32823f3a087f5a66ac00046c44eb913bc 100755 (executable)
@@ -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