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

t_id 955
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=50 Percentage= 100.00

Result type Cat. Count Percentage First date Last Date
Successfully run 50 100.0 2024/05/21 02:33:00 24 2024/05/21 06:59:00 58
i386 4 8.0 2024/05/21 03:08:00 33 2024/05/21 06:56:00 236
m68k 2 4.0 2024/05/21 06:07:00 190 2024/05/21 06:59:00 58
sparc 2 4.0 2024/05/21 06:46:00 68 2024/05/21 06:55:00 81
powerpc 10 20.0 2024/05/21 06:13:00 42 2024/05/21 06:46:00 52
arm 3 6.0 2024/05/21 05:29:00 69 2024/05/21 06:52:00 38
x86_64 12 24.0 2024/05/21 02:33:00 24 2024/05/21 06:23:00 27
powerpc64 4 8.0 2024/05/21 05:39:00 106 2024/05/21 06:38:00 212
mips 2 4.0 2024/05/21 04:05:00 47 2024/05/21 06:16:00 240
mipsel 1 2.0 2024/05/21 06:23:00 148 2024/05/21 06:23:00 148
aarch64 10 20.0 2024/05/21 05:20:00 46 2024/05/21 06:53:00 38
linux 34 68.0 2024/05/21 02:33:00 24 2024/05/21 06:59:00 58
win32 1 2.0 2024/05/21 06:01:00 28 2024/05/21 06:01:00 28
solaris 8 16.0 2024/05/21 05:57:00 31 2024/05/21 06:19:00 29
darwin 7 14.0 2024/05/21 06:02:00 29 2024/05/21 06:53:00 38
3.3.1 23 46.0 2024/05/21 02:33:00 24 2024/05/21 06:56:00 236
3.2.3 27 54.0 2024/05/21 03:08:00 33 2024/05/21 06:59:00 58

Source:

{ Source provided for Free Pascal Bug Report 2432 }
{ Submitted by "Alfred Gaschler" on  2003-03-21 }
{ e-mail:  Alfred.Gaschler@t-online.de }

program test;

uses
  classes;

const
  has_errors : boolean = false;

procedure a(p : array of tpoint);
var
  n : integer;
begin
  for n := low(p) to high(p) do
    begin
      write(p[n].x,' ',p[n].y,' ');
      if p[n].x<>n+1 then
        begin
          Writeln('Error');
          has_errors:=true;
        end;
      //the result is 1 1 2 2 5 5 4 4 5 5
      //should be 1 1 2 2 3 3 4 4 5 5
    end;
  writeln;
end;

begin
  a([point(1,1),point(2,2),point(3,3),
     point(4,4),point(5,5)]);
  if has_errors then
    Halt(1);
end.

Link to SVN view of webtbs/tw2432.pp source.