Skip to content

Commit

Permalink
Fix go coverage builds (#6369)
Browse files Browse the repository at this point in the history
* Fix go coverage builds.

* Fix
  • Loading branch information
inferno-chromium authored Sep 1, 2021
1 parent 2df776b commit df8c808
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions infra/base-images/base-builder-go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 0 additions & 2 deletions infra/base-images/base-builder-new/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion projects/protoreflect/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit df8c808

Please sign in to comment.