Skip to content

Commit

Permalink
align fuzzing deps as per task 5 flux2 issue 2552
Browse files Browse the repository at this point in the history
Signed-off-by: Ilan <ilan.pillemer@gmail.com>
  • Loading branch information
ilanpillemer committed Mar 28, 2022
1 parent f1c72ad commit 54ad8b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/fuzz/oss_fuzz_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ PROJECT_PATH="github.com/fluxcd/helm-controller"

cd "${GO_SRC}"

# Move fuzzer to their respective directories.
# Move fuzzer to their respective directories.
# This removes dependency noises from the modules' go.mod and go.sum files.
cp "${PROJECT_PATH}/tests/fuzz/fuzz_controllers.go" "${PROJECT_PATH}/controllers/"


# compile fuzz tests for the runtime module
pushd "${PROJECT_PATH}"

go mod tidy
go get -d github.com/AdaLogics/go-fuzz-headers
compile_go_fuzzer "${PROJECT_PATH}/controllers/" FuzzHelmreleaseComposeValues fuzz_helmrelease_composevalues
compile_go_fuzzer "${PROJECT_PATH}/controllers/" FuzzHelmreleaseReconcile fuzz_helmrelease_reconcile

Expand Down

0 comments on commit 54ad8b6

Please sign in to comment.