Test suite results for test file tbs/tb0164.pp

Test run data :

Free Pascal Compiler Test Suite Results

View Test suite results

Please specify search criteria:
File:
Operating system:
Processor:
Version
Date
Submitter
Machine
Comment
Limit
Cond
Category
Only failed tests
Hide skipped tests
List all 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:

Record count: 50

Total = 50

OK=0 Percentage= 0.00

Skipped=50 Percentage= 100.00

Result type Cat. Count Percentage First date Last Date
Skipping test because it uses graph 50 100.0 2024/05/08 17:34:00 34 2024/05/08 23:27:00 38
i386 7 14.0 2024/05/08 17:34:00 34 2024/05/08 23:26:00 32
m68k 3 6.0 2024/05/08 19:15:00 190 2024/05/08 20:43:00 63
sparc 5 10.0 2024/05/08 20:01:00 79 2024/05/08 23:27:00 38
powerpc 3 6.0 2024/05/08 19:37:00 185 2024/05/08 21:11:00 188
arm 3 6.0 2024/05/08 19:02:00 59 2024/05/08 20:25:00 69
x86_64 10 20.0 2024/05/08 19:43:00 23 2024/05/08 23:14:00 21
powerpc64 6 12.0 2024/05/08 19:44:00 213 2024/05/08 21:28:00 73
mips 3 6.0 2024/05/08 19:23:00 240 2024/05/08 20:52:00 160
mipsel 3 6.0 2024/05/08 19:30:00 229 2024/05/08 21:02:00 151
aarch64 4 8.0 2024/05/08 17:40:00 56 2024/05/08 20:16:00 46
sparc64 3 6.0 2024/05/08 20:18:00 148 2024/05/08 22:05:00 151
linux 37 74.0 2024/05/08 18:55:00 44 2024/05/08 23:26:00 32
win32 3 6.0 2024/05/08 17:34:00 34 2024/05/08 19:00:00 22
solaris 2 4.0 2024/05/08 23:24:00 38 2024/05/08 23:27:00 38
darwin 1 2.0 2024/05/08 17:40:00 56 2024/05/08 17:40:00 56
win64 7 14.0 2024/05/08 19:43:00 23 2024/05/08 23:14:00 21
3.3.1 4 8.0 2024/05/08 17:34:00 34 2024/05/08 23:14:00 21
3.2.3 46 92.0 2024/05/08 17:40:00 56 2024/05/08 23:27:00 38

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.