Skip to content

cargo-fuzztest: support fuzzing a fuzztest. - #2153

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/953003012
Open

cargo-fuzztest: support fuzzing a fuzztest.#2153
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/953003012

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

cargo-fuzztest: support fuzzing a fuzztest.

  • Add an optional test_path field to CargoFuzzTestOptions and implement test_filter() to support running specific fuzztest targets.
  • Add --centipede-binary-path CLI flag to CargoFuzzTestOptions and forward it via FUZZTEST_CENTIPEDE_BINARY_PATH environment variable to compiled test processes.
  • Update FuzztestRunner::build_run_command in cargo-fuzztest to append exact matching arguments when a specific test target is selected.
  • Forward configured fuzzing durations (both finite durations and indefinite fuzzing via inf) to child test executables using environment variables.
  • Add unit and e2e integration tests for targeted execution and command flag propagation.

@copybara-service
copybara-service Bot force-pushed the cl/953003012 branch 4 times, most recently from 768cbd5 to 2d2fc4b Compare August 10, 2026 00:16
- Add an optional test_path field to CargoFuzzTestOptions and implement test_filter() to support running specific fuzztest targets.
- Add --centipede-binary-path CLI flag to CargoFuzzTestOptions and forward it via FUZZTEST_CENTIPEDE_BINARY_PATH environment variable to compiled test processes.
- Update FuzztestRunner::build_run_command in cargo-fuzztest to append exact matching arguments when a specific test target is selected.
- Forward configured fuzzing durations (both finite durations and indefinite fuzzing via inf) to child test executables using environment variables.
- Add unit and e2e integration tests for targeted execution and command flag propagation.

PiperOrigin-RevId: 953003012
@copybara-service copybara-service Bot changed the title No public description cargo-fuzztest: support fuzzing a fuzztest. Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant