diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2021-02-01 12:40:57 +0000 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-02-01 22:51:43 +0900 |
commit | 77591e97327d6fc47f27599ba1937629afb6dd13 (patch) | |
tree | f2881a01b50d553df12f26fceeaf416d5334ba06 | |
parent | 934d0d023e33aa38c56e1e12118be8ddbd839284 (diff) | |
download | systemd-77591e97327d6fc47f27599ba1937629afb6dd13.tar.gz |
oss-fuzz: show meson logs
It should help to make it more clear what causes issues like
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30140
and https://github.com/google/oss-fuzz/pull/5084
-rwxr-xr-x | tools/oss-fuzz.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/oss-fuzz.sh b/tools/oss-fuzz.sh index 491246b32b..767da15f7c 100755 --- a/tools/oss-fuzz.sh +++ b/tools/oss-fuzz.sh @@ -38,7 +38,11 @@ else fi fi -meson $build -D$fuzzflag -Db_lundef=false +if ! meson $build -D$fuzzflag -Db_lundef=false; then + cat $build/meson-logs/meson-log.txt + exit 1 +fi + ninja -v -C $build fuzzers # The seed corpus is a separate flat archive for each fuzzer, |