Skip to content

Commit

Permalink
Don't print expected failures in "failures" report
Browse files Browse the repository at this point in the history
  • Loading branch information
cgay committed Sep 30, 2023
1 parent a89ee44 commit 6d4d5f2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions reports.dylan
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,13 @@ end method;
define method print-failures-report
(result :: <result>, stream :: <stream>) => ()
if (result.result-status ~= $passed)
print-result-info (result, stream,
test: method (result)
let status = result.result-status;
status ~== $passed & status ~== $skipped
end);
print-result-info(result, stream,
test: method (result)
select (result.result-status)
$passed, $skipped, $expected-failure => #f;
otherwise => #t;
end
end);
format(stream, "\n");
end;
print-summary-report(result, stream);
Expand Down

0 comments on commit 6d4d5f2

Please sign in to comment.