Fix go coverage builds (#6369)

* Fix go coverage builds.

* Fix
This commit is contained in:
Abhishek Arya 2021-09-01 09:14:16 -07:00 committed by GitHub
parent 2df776b9a9
commit df8c808091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View File

@ -24,3 +24,6 @@ ENV GOPATH /root/go
ENV PATH $PATH:/root/.go/bin:$GOPATH/bin
RUN install_go.sh
COPY ossfuzz_coverage_runner.go $GOPATH

View File

@ -134,8 +134,6 @@ RUN cd $SRC && \
tar -xzv --strip-components=1 -f $SRC/oss-fuzz.tar.gz && \
rm -rf examples $SRC/oss-fuzz.tar.gz
COPY ossfuzz_coverage_runner.go $GOPATH
# Do precompiles before copying other scripts for better cache efficiency.
COPY precompile_afl /usr/local/bin/
RUN precompile_afl

View File

@ -16,5 +16,5 @@
################################################################################
compile_go_fuzzer github.com/jhump/protoreflect/desc/protoparse FuzzProtoParse fuzz_protoparse
#compile_go_fuzzer github.com/jhump/protoreflect/proto_decoder Fuzz fuzz_dynamic
# compile_go_fuzzer github.com/jhump/protoreflect/proto_decoder Fuzz fuzz_dynamic