textthr test to be more verbose on error conditions

git-svn-id: trunk@36584 -
This commit is contained in:
Károly Balogh 2017-06-23 06:03:26 +00:00
parent 4962872d70
commit 50332a97bc

View File

@ -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.