Skip to content

Commit

Permalink
Merge pull request #4339 from esl/fix-summarise-ct-results
Browse files Browse the repository at this point in the history
Fix no-match in tools/summarise-ct-results
Erlang27 includes one more element (total execution time)
  • Loading branch information
NelsonVides authored Jul 26, 2024
2 parents 343838d + a23f08a commit 7ae4a22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/summarise-ct-results
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ summaries(Directories, Filename) ->

add_up_suite_results(SuiteSummaries) ->
lists:foldl(fun(Filename, {OkAcc, FAcc, USAcc, ASAcc}) ->
{ok, [{summary, {Ok, F, US, AS}}]} = file:consult(Filename),
{ok, [{summary, Summary}]} = file:consult(Filename),
[Ok, F, US, AS | _] = tuple_to_list(Summary),
{OkAcc + Ok, FAcc + F, USAcc + US, ASAcc + AS}
end, {0, 0, 0, 0}, SuiteSummaries).

Expand Down

0 comments on commit 7ae4a22

Please sign in to comment.