catenacyber commented on a change in pull request #2351:
URL: https://github.com/apache/thrift/pull/2351#discussion_r596637973



##########
File path: lib/go/test/Makefile.am
##########
@@ -85,6 +86,17 @@ gopath: $(THRIFT) $(THRIFTTEST) \
        cp -r ./dontexportrwtest gopath/src
        touch gopath
 
+gopathfuzz: $(THRIFT) fuzz/fuzz.go
+       cd fuzz && $(THRIFT) -r --gen go ../../../../tutorial/tutorial.thrift
+       cd fuzz && go mod init fuzz
+       cd fuzz/gen-go/shared && go mod init shared
+       cd fuzz/gen-go/tutorial && go mod init tutorial
+       cd fuzz && go mod edit -replace shared=./gen-go/shared
+       cd fuzz && go mod edit -replace tutorial=./gen-go/tutorial
+       cd fuzz && go mod edit -replace 
github.com/apache/thrift/lib/go/thrift=../../../../lib/go/thrift
+       go build fuzz

Review comment:
       > Also if we make this a rule in the fuzz directory instead of the test 
directory
   
   Trying this




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to