tests: catch broken fuzz targets as early as possible

See https://github.com/google/oss-fuzz/pull/2419.
This commit is contained in:
Evgeny Vereshchagin 2019-05-16 05:48:06 +02:00
parent a188bcffc3
commit f572f79e18

View file

@ -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"