lib/fuzzer: Allow coverage build for oss-fuzz
authorAndrew Bartlett <abartlet@samba.org>
Fri, 13 Dec 2019 01:48:38 +0000 (14:48 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 18 Dec 2019 06:39:26 +0000 (06:39 +0000)
This still does not seem to be enough but it is one step towards a working
coverage build.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
lib/fuzzing/oss-fuzz/build_samba.sh

index 63b81af08106650af1f1672cf3f1ec3b394bf4c2..93039e4dbe0989e4dd9e9538aae674d93874796e 100755 (executable)
@@ -34,6 +34,9 @@ case "$SANITIZER" in
     undefined)
        SANITIZER_ARG='--undefined-sanitizer'
        ;;
+    coverage)
+       SANITIZER_ARG=''
+       ;;
 esac
 
 # $LIB_FUZZING_ENGINE is provided by the oss-fuzz "compile" command