]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tests: catch broken fuzz targets as early as possible
authorEvgeny Vereshchagin <evvers@ya.ru>
Thu, 16 May 2019 03:48:06 +0000 (05:48 +0200)
committerEvgeny Vereshchagin <evvers@ya.ru>
Sun, 19 May 2019 09:48:12 +0000 (12:48 +0300)
See https://github.com/google/oss-fuzz/pull/2419.

travis-ci/managers/fuzzbuzz.sh

index ee912db3224d4b09b29f5f90174515559329d61a..0080b065d89cf201f06a2546ca782d1c393f67bd 100755 (executable)
@@ -36,4 +36,4 @@ sudo mount --bind "$REPO_ROOT" "$t"
 # helper.py is wrapped in script to trick it into thinking it's "interactive"
 # See https://github.com/systemd/systemd/pull/12542#issuecomment-491563572
 sudo script -e -c "./infra/helper.py build_fuzzers --clean --sanitizer=memory systemd $t"
-sudo script -e -c "./infra/helper.py check_build --sanitizer=memory systemd"
+sudo script -e -c "./infra/helper.py check_build --sanitizer=memory -e ALLOWED_BROKEN_TARGETS_PERCENTAGE=0 systemd"