diff --git a/components/pochecker/Proj/pocheckermain.pp b/components/pochecker/Proj/pocheckermain.pp index 07a79a3c1e..5473c4c97b 100644 --- a/components/pochecker/Proj/pocheckermain.pp +++ b/components/pochecker/Proj/pocheckermain.pp @@ -273,9 +273,9 @@ begin and (PoFamily.ChildName <> FChoosenChildName) then PoFamily.ChildName := FChoosenChildName; PoFamily.RunTests(Options, ErrorCount, WarningCount, SL); - if (ErrorCount > 0) or (WarningCount > 0) then debugln('RunSelectedTests: ',Format(sTotalErrors,[ErrorCount])); debugln(' ',Format(sTotalWarnings,[WarningCount])); + if (ErrorCount > 0) or (WarningCount > 0) then begin SL.Add(Format(sTotalErrors,[ErrorCount])); SL.Add(Format(sTotalWarnings,[WarningCount])); diff --git a/components/pochecker/pocheckermain.pp b/components/pochecker/pocheckermain.pp index 8b993cdc77..46e0c2f251 100644 --- a/components/pochecker/pocheckermain.pp +++ b/components/pochecker/pocheckermain.pp @@ -283,9 +283,9 @@ begin and (PoFamily.ChildName <> FChoosenChildName) then PoFamily.ChildName := FChoosenChildName; PoFamily.RunTests(Options, ErrorCount, WarningCount, SL); - if (ErrorCount > 0) or (WarningCount > 0) then debugln('RunSelectedTests: ',Format(sTotalErrors,[ErrorCount])); debugln(' ',Format(sTotalWarnings,[WarningCount])); + if (ErrorCount > 0) or (WarningCount > 0) then begin SL.Add(Format(sTotalErrors,[ErrorCount])); SL.Add(Format(sTotalWarnings,[WarningCount]));