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

t_id 962
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/06/02 01:36:00 0 2024/06/02 05:04:00 31
i386 5 10.0 2024/06/02 01:36:00 0 2024/06/02 04:24:00 56
m68k 1 2.0 2024/06/02 03:55:00 53 2024/06/02 03:55:00 53
sparc 1 2.0 2024/06/02 03:32:00 41 2024/06/02 03:32:00 41
powerpc 1 2.0 2024/06/02 04:10:00 238 2024/06/02 04:10:00 238
x86_64 32 64.0 2024/06/02 01:57:00 0 2024/06/02 05:04:00 31
powerpc64 4 8.0 2024/06/02 04:15:00 53 2024/06/02 04:32:00 57
mips 1 2.0 2024/06/02 04:00:00 47 2024/06/02 04:00:00 47
mipsel 1 2.0 2024/06/02 04:06:00 185 2024/06/02 04:06:00 185
aarch64 4 8.0 2024/06/02 01:46:00 0 2024/06/02 03:42:00 31
linux 36 72.0 2024/06/02 01:36:00 0 2024/06/02 04:32:00 57
win32 1 2.0 2024/06/02 03:03:00 25 2024/06/02 03:03:00 25
go32v2 2 4.0 2024/06/02 03:45:00 54 2024/06/02 04:24:00 56
solaris 11 22.0 2024/06/02 02:58:00 19 2024/06/02 05:04:00 31
3.3.1 35 70.0 2024/06/02 01:46:00 0 2024/06/02 05:04:00 31
3.2.3 15 30.0 2024/06/02 01:36:00 0 2024/06/02 04:32:00 57

Source:

{ Source provided for Free Pascal Bug Report 2494 }
{ Submitted by "Alan Mead" on  2003-05-17 }
{ e-mail: cubrewer@yahoo.com }
program dummy;

type
  matrix_element = array[1..1] of byte;
  big_matrix = array[1..1000000,1..610] of matrix_element;

  longarray = array[0..0] of real;

{var
  a : big_matrix;}

var p:pointer;
  l : ^longarray;
  size, storage : longint;
  i,j:longint;
  done:boolean;

begin
  ReturnNilIfGrowHeapFails:=true;
  writeln('Total heap available is ',MemAvail,' bytes');
  writeln('Largest block available is ',MaxAvail,' bytes');
  done := false;
  size := 40000000;
  repeat
    size := round(size * 1.1);
    storage := size * sizeof(real);
    writeln('size=',size,' (storage=',storage,')');
    getmem(l,storage);
    if (l=nil) then
      begin
        done := true;
        writeln('getmem() failed');
      end
    else
      begin
        writeln('getmem() was successful');
        freemem(l,storage);
      end;
  until (done);
end.

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