Skip to content

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

Merged
mattsse merged 1 commit into
foundry-rs:masterfrom
grandizzy:issue-7531
Apr 1, 2024
Merged

fix(bench): avoid panic if test benchmark execution not success#7535
mattsse merged 1 commit into
foundry-rs:masterfrom
grandizzy:issue-7531

Conversation

@grandizzy

Copy link
Copy Markdown
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
@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