Test suite results for test file tbs/tb0164.pp

Test run data :

Run ID:
Operating system: linux
Processor: i386
Version: 3.3.1
Fails/OK/Total: 238/9423/9661
Version: 3.3.1
Full version: 3.3.1-15610-gfc6d6c123d
Comment: -XR/home/muller/sys-root/i386-linux -Xd -Xr/home/muller/sys-root/i386-linux
Machine: cfarm421
Category: 1
SVN revisions: fc6d6c123d:a5cb0b6179:0d375c638c:61397d40ae
Submitter: muller
Date: 2024/04/26 12:28:00 <> 2024/04/25
Previous run: 939046
Next run: 940438

Hide skipped tests

Hide successful tests

Test file "tbs/tb0164.pp" information:

t_id 1038
t_adddate 2003/10/14
Flag t_graph set
t_result 0
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
473275941939741FalseTrueSkipping test because it uses graph

Record count: 1

No log of 939741.

Source:

{ %GRAPH }
{ %TARGET=go32v2,win32,linux }

{ Old file: tbs0195.pp }
{ Problem with Getimage, crash of DOS box, even with dpmiexcp!! (PFV) Not a bugs, you must use p^. }

uses graph;
var
   GDriver, GMode: Integer;
   w:word;
   p:pointer;
begin
   GDriver := $FF;
   GMode := $101;
   InitGraph(GDriver, GMode, '');
   if (GraphResult <> grOK) then
     Halt(0);
   rectangle(0,0,getmaxx,getmaxy);
   w := imagesize(0,0,111,111);
   getmem(p, w);

   {---runtime-error!------}
   { getimage(0,0,111,111, p); }
   {-----------------------}

   { This is the correct usage (PFV) }
   getimage(0,0,111,111, p^);


   freemem(p, w);
   closegraph;
   readln;
end.

Link to SVN view of tbs/tb0164.pp source.