* Report all failed cases instead of halting at the first failure.

git-svn-id: trunk@28255 -
This commit is contained in:
sergei 2014-07-24 12:05:33 +00:00
parent a61321b4bd
commit 4d73dd4977

View File

@ -5,10 +5,13 @@
uses sysutils;
var
has_errors: boolean;
procedure doerror(l: longint);
begin
writeln('error near ',l);
halt(1);
has_errors:=true;
end;
{$R-}
@ -20,6 +23,7 @@ var i: integer;
n: int64;
q: qword;
begin
has_errors:=false;
i := 32767;
i := i + 15;
b := 255;
@ -212,5 +216,6 @@ begin
end;
{$endif fpc}
if has_errors then
halt(1);
End.