Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Fixed parsing duration when test have died
Browse files Browse the repository at this point in the history
  • Loading branch information
idubrov committed Sep 18, 2011
1 parent 47ca99f commit b705a8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ct_surefire.erl
Expand Up @@ -196,6 +196,7 @@ sum_duration(Res) ->
% parallel testcases
parse_duration(?TAG(i, [D])) ->
parse_duration(D);
parse_duration(<<"died">>) -> <<"0">>;
parse_duration(D) ->
BS = byte_size(D)-1,
<<Dura:BS/binary,"s">> = D,
Expand Down

0 comments on commit b705a8d

Please sign in to comment.