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

t_id 1366
t_version 1.1
t_adddate 2004/09/17
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/06/02 02:19:00 35 2024/06/02 06:26:00 40
i386 7 14.0 2024/06/02 02:58:00 35 2024/06/02 06:02:00 28
m68k 2 4.0 2024/06/02 05:48:00 63 2024/06/02 06:05:00 190
sparc 6 12.0 2024/06/02 03:07:00 41 2024/06/02 06:04:00 43
powerpc 1 2.0 2024/06/02 06:16:00 188 2024/06/02 06:16:00 188
arm 2 4.0 2024/06/02 05:30:00 69 2024/06/02 05:51:00 67
x86_64 19 38.0 2024/06/02 02:19:00 35 2024/06/02 06:26:00 40
mips 2 4.0 2024/06/02 05:58:00 243 2024/06/02 06:13:00 240
mipsel 1 2.0 2024/06/02 06:08:00 151 2024/06/02 06:08:00 151
aarch64 8 16.0 2024/06/02 04:26:00 35 2024/06/02 06:16:00 0
sparc64 1 2.0 2024/06/02 05:03:00 157 2024/06/02 05:03:00 157
riscv64 1 2.0 2024/06/02 04:39:00 31 2024/06/02 04:39:00 31
linux 33 66.0 2024/06/02 02:19:00 35 2024/06/02 06:16:00 188
win32 2 4.0 2024/06/02 04:53:00 28 2024/06/02 06:02:00 28
go32v2 2 4.0 2024/06/02 05:03:00 55 2024/06/02 05:44:00 59
solaris 8 16.0 2024/06/02 03:04:00 19 2024/06/02 06:26:00 40
darwin 5 10.0 2024/06/02 05:42:00 24 2024/06/02 06:16:00 0
3.3.1 16 32.0 2024/06/02 02:44:00 23 2024/06/02 06:26:00 40
3.2.3 34 68.0 2024/06/02 02:19:00 35 2024/06/02 06:16:00 188

Source:

{ %version=1.1 }

var
  a,b:array of integer;
  i :integer;
  err : boolean;
begin
  setlength(a,3);
  a[0]:=1;
  a[1]:=2;
  a[2]:=3;
  b:=a;
  writeln('len b= ',length(b)); // output is 3: OK
  if length(b)<>3 then
    err:=true;
  setlength(a,0);
  writeln('len a= ',length(a)); // output is 0: OK
  if length(a)<>0 then
    err:=true;
  for i:=1 to length(b) do writeln(b[i-1]); // output is 1: BAD
  writeln('len b= ',length(b)); // output is 1: BAD, must be 3
  if length(b)<>3 then
    err:=true;
  if err then
    halt(1);
end.

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