mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 15:40:16 +02:00
textthr test to be more verbose on error conditions
git-svn-id: trunk@36584 -
This commit is contained in:
parent
4962872d70
commit
50332a97bc
@ -58,7 +58,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
if res<>pointer(11) then
|
if res<>pointer(11) then
|
||||||
begin
|
begin
|
||||||
writeln('error 1');
|
writeln('error 1: ',ptruint(res));
|
||||||
halt(1);
|
halt(1);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -69,7 +69,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
if res<>pointer(12) then
|
if res<>pointer(12) then
|
||||||
begin
|
begin
|
||||||
writeln('error 2');
|
writeln('error 2: ',ptruint(res));
|
||||||
halt(2);
|
halt(2);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
if res<>pointer(13) then
|
if res<>pointer(13) then
|
||||||
begin
|
begin
|
||||||
writeln('error 3');
|
writeln('error 3: ',ptruint(res));
|
||||||
halt(3);
|
halt(3);
|
||||||
end;
|
end;
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user