diff options
author | Andrew Bartlett <abartlet@samba.org> | 2020-10-23 07:49:47 +1300 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2020-10-22 23:08:31 +0000 |
commit | a57702db1dee0aaf3bfea5f9e00d31963df0fe24 (patch) | |
tree | 7f6b69b61904297ecfac376b56a199f9b2deace7 /script | |
parent | b5f8073431c3c518108c2477aa566694d79454a3 (diff) | |
download | samba-a57702db1dee0aaf3bfea5f9e00d31963df0fe24.tar.gz |
oss-fuzz: Always run the check, even on the oss-fuzz platform
It is much harder to determine why we get messages like
Step #6: Error occured while running fuzz_reg_parse:
Step #6: /workspace/out/coverage/fuzz_reg_parse: error while loading shared libraries: libavahi-common.so.3: cannot open shared object file: No such file or directory
instead this detects the failure to use RPATH (which is
strictly required instead of the modern RUNPATH)
otherwise.
We do this by creating a new build_samba.sh after renaming
build_samba.sh to do_build.sh because this is what oss-fuzz
runs, meaning we don't need to coordinate a MR there as well.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'script')
-rwxr-xr-x | script/autobuild.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/script/autobuild.py b/script/autobuild.py index 00ed3a47022..24baa0fa9f2 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -652,7 +652,6 @@ tasks = { # build the fuzzers (static) via the oss-fuzz script ("fuzzers-mkdir-prefix", "mkdir -p ${PREFIX_DIR}"), ("fuzzers-build", "OUT=${PREFIX_DIR} LIB_FUZZING_ENGINE= SANITIZER=address CXX= CFLAGS= ADDITIONAL_LDFLAGS='-fuse-ld=bfd' ./lib/fuzzing/oss-fuzz/build_samba.sh --enable-afl"), - ("fuzzers-check", "./lib/fuzzing/oss-fuzz/check_build.sh ${PREFIX_DIR}") ], # * Test smbd and smbtorture can build semi-static |