Test suite results for test file tbs/tb0046.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/tb0046.pp" information:

t_id 1028
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 01:35:00 28 2024/05/08 03:23:00 22
i386 15 30.0 2024/05/08 01:35:00 28 2024/05/08 03:20:00 28
sparc 1 2.0 2024/05/08 03:19:00 46 2024/05/08 03:19:00 46
x86_64 31 62.0 2024/05/08 01:57:00 16 2024/05/08 03:23:00 22
powerpc64 2 4.0 2024/05/08 03:06:00 56 2024/05/08 03:15:00 57
aarch64 1 2.0 2024/05/08 03:06:00 37 2024/05/08 03:06:00 37
linux 48 96.0 2024/05/08 01:35:00 28 2024/05/08 03:23:00 22
go32v2 1 2.0 2024/05/08 03:07:00 55 2024/05/08 03:07:00 55
solaris 1 2.0 2024/05/08 03:19:00 46 2024/05/08 03:19:00 46
3.3.1 19 38.0 2024/05/08 01:35:00 28 2024/05/08 03:23:00 22
3.2.3 31 62.0 2024/05/08 01:50:00 31 2024/05/08 03:22:00 44

Source:

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

{ Old file: tbs0052.pp }
{  Graph, collects missing graph unit routines          OK 0.99.9 (PM) }

uses
  crt,graph;

const
  Triangle: array[1..3] of PointType = ((X: 50; Y: 100), (X: 100; Y:100),
    (X: 150; Y: 150));
  Rect : array[1..4] of PointType = ((X: 50; Y: 100), (X: 100; Y:100),
    (X: 75; Y: 150), (X: 80; Y : 50));
  Penta : array[1..5] of PointType = ((X: 250; Y: 100), (X: 300; Y:100),
    (X: 275; Y: 150), (X: 280; Y : 50), (X:295; Y : 80) );

var Gd, Gm: Integer;
begin
  Gd := Detect;
  InitGraph(Gd, Gm, 'c:pgi');
  if GraphResult <> grOk then
    Halt(1);
  drawpoly(SizeOf(Triangle) div SizeOf(PointType), Triangle);
  {readln;}delay(1000);
  setcolor(red);
  fillpoly(SizeOf(Triangle) div SizeOf(PointType), Triangle);
  {readln;}delay(1000);
  SetFillStyle(SolidFill,blue);
  Bar(0,0,GetMaxX,GetMaxY);
  Rectangle(25,25,GetMaxX-25,GetMaxY-25);
  setViewPort(25,25,GetMaxX-25,GetMaxY-25,true);
  clearViewPort;
  setcolor(magenta);
  SetFillStyle(SolidFill,red);
  fillpoly(SizeOf(Rect) div SizeOf(PointType), Rect);
  fillpoly(SizeOf(Penta) div SizeOf(PointType), Penta);
  graphdefaults;
  {readln;}delay(1000);
  CloseGraph;
end.

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