Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bench): avoid panic if test benchmark execution not success #7535

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

grandizzy
Copy link
Collaborator

Motivation

Closes #7531

see #7531 (comment) tests of project used could fail but it shouldn't panic test benchmark

Solution

use cmd.print_output() when benchmark (to also give an insight re tests execution outcome) instead assuming tests are executed with success

@mattsse mattsse merged commit bd56eef into foundry-rs:master Apr 1, 2024
19 checks passed
@grandizzy grandizzy deleted the issue-7531 branch April 1, 2024 15:06
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.

Running benchmarks causes assertion failed; counterexample on solmate ERC6909
2 participants