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 Oct 1, 2023
1 parent 30ff06e commit 4ca0398
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 4ca0398

Please sign in to comment.