1
0
mirror of https://github.com/systemd/systemd synced 2025-09-29 16:54:46 +02:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Evgeny Vereshchagin
77591e9732 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
2021-02-01 22:51:43 +09:00
Anita Zhang
934d0d023e tools: make update-dbus-docs compatible with Python 3.6
668b3a42fe9e250912bd3efa4460ed691452d9bf allowed update-dbus-docs.py to start
running on Cent OS 8 (instead of skipping). But subprocess.check_output()'s
text argument didn't exist until Python 3.7 and C8 is still running
Python 3.6. Use universal_newlines instead for backwards compatibility.
2021-02-01 11:21:10 +00:00
2 changed files with 6 additions and 2 deletions

View File

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

View File

@ -197,7 +197,7 @@ def subst_output(document, programlisting, stats):
print(f'COMMAND: {shlex_join(argv)}')
try:
out = subprocess.check_output(argv, text=True)
out = subprocess.check_output(argv, universal_newlines=True)
except FileNotFoundError:
print(f'{executable} not found, ignoring', file=sys.stderr)
return