fpcunit test runners: less output on the console fro Graeme.

git-svn-id: trunk@11221 -
This commit is contained in:
vincents 2007-05-29 20:20:07 +00:00
parent 26b03893db
commit 11ec1c7a2e
2 changed files with 3 additions and 2 deletions

View File

@ -278,8 +278,8 @@ begin
if HasOption('format') then
begin
if GetOptionValue('format') = 'latex' then
FormatParam := fLatex;
if GetOptionValue('format') = 'plain' then
FormatParam := fLatex
else if GetOptionValue('format') = 'plain' then
FormatParam := fPlain;
end;

View File

@ -617,6 +617,7 @@ begin
w := TXMLResultsWriter.Create;
{$ELSE}
w := TXMLResultsWriter.Create(nil);
w.FileName := 'null'; // prevents output to the console
{$ENDIF}
testResult.AddListener(w);