This repository was archived by the owner on Sep 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make this repo a workspace so that `cargo` commands hit the `fuzz` directory as well even though running `cargo test` in the `fuzz` crate does nothing unless "fuzzing" is enabled. However one can run the fuzz test with `RUSTFLAGS=--cfg=fuzzing cargo test --all`. In order to make fuzz tests pass without "fuzzing" enabled do a few things: - Add a TIMEOUT const for the timeout duration - feature guard the logic in the fuzz test, leaves an empty test when "fuzzing" is not enabled - comment the file to highlight this - feature guard closed socket test
- Loading branch information
Showing
4 changed files
with
31 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters