Skip to content

Commit

Permalink
chore(revme): increment statetest bar *after* running the test (bluea…
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored May 4, 2024
1 parent f778a5d commit 8f5be0e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bins/revme/src/cmd/statetest/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,12 @@ pub fn run(
(prev_idx, test_path)
};

let result = execute_test_suite(&test_path, &elapsed, trace, print_outcome);

// Increment after the test is done.
console_bar.inc(1);
if let Err(err) = execute_test_suite(&test_path, &elapsed, trace, print_outcome) {

if let Err(err) = result {
n_errors.fetch_add(1, Ordering::SeqCst);
if !keep_going {
return Err(err);
Expand Down

0 comments on commit 8f5be0e

Please sign in to comment.