summaryrefslogtreecommitdiff
path: root/tools/oss-fuzz.sh
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2020-01-08 10:44:10 +0100
committerEvgeny Vereshchagin <evvers@ya.ru>2020-01-08 13:56:30 +0300
commit514793658c499821383bdc8bbf1d33048c18dd40 (patch)
treea7cc0d3d21bda89634ddde96e886c3c8d2bfa62c /tools/oss-fuzz.sh
parent06ae8800d0bd9f8b01df7443daec37f90708bd84 (diff)
downloadsystemd-514793658c499821383bdc8bbf1d33048c18dd40.tar.gz
test: pin meson to 0.52.1 for fuzzit/fuzzbuzz
Latest meson doesn't work with older python 3.5, which is present on Ubuntu 16.04. Let's pin in to the latest working version (0.52.1) until we properly bump all necessary Ubuntu images to 18.04. See: https://github.com/mesonbuild/meson/issues/6427
Diffstat (limited to 'tools/oss-fuzz.sh')
-rwxr-xr-xtools/oss-fuzz.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/oss-fuzz.sh b/tools/oss-fuzz.sh
index 5e48a7e0c6..6884048d83 100755
--- a/tools/oss-fuzz.sh
+++ b/tools/oss-fuzz.sh
@@ -32,6 +32,10 @@ if [ -z "$FUZZING_ENGINE" ]; then
fuzzflag="llvm-fuzz=true"
fi
+# FIXME: temporarily pin the meson version as 0.53 doesn't work with older python 3.5
+# See: https://github.com/mesonbuild/meson/issues/6427
+pip3 install meson==0.52.1
+
meson $build -D$fuzzflag -Db_lundef=false
ninja -v -C $build fuzzers