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

t_id 1019
t_adddate 2003/10/14
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 run because it is a unit 50 100.0 2024/06/02 05:33:00 33 2024/06/02 07:27:00 37
i386 5 10.0 2024/06/02 06:25:00 60 2024/06/02 07:24:00 42
m68k 3 6.0 2024/06/02 06:49:00 58 2024/06/02 07:01:00 244
sparc 2 4.0 2024/06/02 06:46:00 68 2024/06/02 06:53:00 83
powerpc 3 6.0 2024/06/02 06:16:00 188 2024/06/02 07:20:00 185
arm 4 8.0 2024/06/02 06:33:00 210 2024/06/02 07:18:00 40
x86_64 4 8.0 2024/06/02 05:33:00 33 2024/06/02 07:19:00 104
powerpc64 7 14.0 2024/06/02 06:26:00 215 2024/06/02 07:24:00 59
mips 4 8.0 2024/06/02 06:13:00 240 2024/06/02 07:06:00 240
mipsel 3 6.0 2024/06/02 06:21:00 148 2024/06/02 07:13:00 148
aarch64 13 26.0 2024/06/02 06:02:00 30 2024/06/02 07:27:00 37
sparc64 1 2.0 2024/06/02 07:14:00 164 2024/06/02 07:14:00 164
loongarch64 1 2.0 2024/06/02 06:56:00 34 2024/06/02 06:56:00 34
linux 39 78.0 2024/06/02 06:13:00 240 2024/06/02 07:27:00 37
go32v2 1 2.0 2024/06/02 06:25:00 60 2024/06/02 06:25:00 60
solaris 2 4.0 2024/06/02 05:33:00 33 2024/06/02 06:54:00 39
darwin 8 16.0 2024/06/02 06:02:00 30 2024/06/02 07:14:00 47
3.3.1 21 42.0 2024/06/02 05:33:00 33 2024/06/02 07:24:00 59
3.2.3 29 58.0 2024/06/02 06:13:00 240 2024/06/02 07:27:00 37

Source:

unit toperator3;

interface

type
  op2 = record
    x,y,z : longint;
  end;

operator + (const a,b : op2) c : op2;

implementation

uses
  toperator2,toperator4;

operator + (const a,b : op2) c : op2;
begin
  c.x:=a.x+b.x;
  c.y:=a.y+b.y;
end;

procedure test_op3;
var
  a,b,c : op3;
begin
  a.x:=44.0;
  a.y:=67.0;
  b.x:=-34.0;
  b.y:=-57.0;
  c:=a+b;
  if (c.x<>10.0) or (c.y<>10.0) then
    Halt(1);
end;

procedure test_op2;
var
  a,b,c : op2;
begin
  a.x:=44;
  a.y:=67;
  b.x:=-34;
  b.y:=-57;
  c:=a+b;
  if (c.x<>10) or (c.y<>10) then
    Halt(1);
end;

procedure test_op1;
var
  a,b,c : op1;
begin
  a.x:=44;
  a.y:=67;
  b.x:=-34;
  b.y:=-57;
  c:=a+b;
  if (c.x<>10) or (c.y<>10) then
    Halt(1);
end;

begin
  test_op1;
  test_op2;
  test_op3;
end.

Link to SVN view of test/toperator3.pp source.