diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-05-16 23:04:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-16 23:04:45 +0200 |
commit | 5cef20c80aa0091ac7c765bf5ff4e8413d8c41e7 (patch) | |
tree | 5b80788854f4db2876a8133193d3bc3c12d14aed /travis-ci | |
parent | Merge pull request #12535 from poettering/color-grey (diff) | |
parent | tests: make fuzzbuzz.sh compatible with Azure Pipelines again (diff) | |
download | systemd-5cef20c80aa0091ac7c765bf5ff4e8413d8c41e7.tar.xz systemd-5cef20c80aa0091ac7c765bf5ff4e8413d8c41e7.zip |
Merge pull request #12515 from evverx/fix-fuzzers-in-local-mode
travis: make sure the fuzzers can be built in "local" mode
Diffstat (limited to 'travis-ci')
-rwxr-xr-x | travis-ci/managers/fuzzbuzz.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/travis-ci/managers/fuzzbuzz.sh b/travis-ci/managers/fuzzbuzz.sh index a56c3d753b..ee912db322 100755 --- a/travis-ci/managers/fuzzbuzz.sh +++ b/travis-ci/managers/fuzzbuzz.sh @@ -6,7 +6,18 @@ set -u REPO_ROOT=${REPO_ROOT:-$(pwd)} +sudo bash -c "echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse' >>/etc/apt/sources.list" +sudo apt-get update -y +sudo apt-get build-dep systemd -y +sudo apt-get install -y ninja-build python3-pip python3-setuptools +pip3 install meson + cd $REPO_ROOT +export PATH="$HOME/.local/bin/:$PATH" +tools/oss-fuzz.sh +timeout --preserve-status 5 ./out/fuzz-unit-file +git clean -dxff + wget https://app.fuzzbuzz.io/releases/cli/latest/linux/fuzzbuzz chmod +x fuzzbuzz ./fuzzbuzz validate |