Skip to content

Exclude tests when fuzzing#1421

Closed
tcharding wants to merge 1 commit intorust-bitcoin:masterfrom
tcharding:11-30-exclude-test-when-fuzzing
Closed

Exclude tests when fuzzing#1421
tcharding wants to merge 1 commit intorust-bitcoin:masterfrom
tcharding:11-30-exclude-test-when-fuzzing

Conversation

@tcharding
Copy link
Copy Markdown
Member

Currently we run a bunch of unit tests that check the state of data structures during hashing however we hobble these data structures when fuzzing so the tests fail and are meaningless.

Exclude unit tests that test state if fuzzing.

Fix: #1409

I'm not totally sure I'm not being brain dead here but I think this is the problem :)

Currently we run a bunch of unit tests that check the state of
data structures during hashing however we hobble these data structures
when fuzzing so the tests fail and are meaningless.

Exclude unit tests that test state if fuzzing.
@apoelstra
Copy link
Copy Markdown
Member

We should fix the unit tests so that they pass with cfg(fuzzing) ... and other than fixed-vector tests we should fix the fuzzing harness rather than disabling the tests. But this isn't really related to #1409 which is about the actual fuzztests not passing.

@tcharding
Copy link
Copy Markdown
Member Author

ok cheers, so my suspicion that I was being brain dead was correct.

@tcharding tcharding closed this Nov 30, 2022
@tcharding tcharding deleted the 11-30-exclude-test-when-fuzzing branch January 12, 2023 07:35
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.

None of the hashes fuzztests succeed

2 participants