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

t_id 1277
t_adddate 2004/03/17
t_result 0
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=47 Percentage= 94.00

Result type Cat. Count Percentage First date Last Date
Failed to run 3 6.0 2024/05/21 03:53:00 234 2024/05/21 04:15:00 238
i386 1 33.3 2024/05/21 03:53:00 234 2024/05/21 03:53:00 234
powerpc 1 33.3 2024/05/21 04:15:00 238 2024/05/21 04:15:00 238
mipsel 1 33.3 2024/05/21 04:11:00 185 2024/05/21 04:11:00 185
linux 3 100.0 2024/05/21 03:53:00 234 2024/05/21 04:15:00 238
3.3.1 3 100.0 2024/05/21 03:53:00 234 2024/05/21 04:15:00 238
Successfully run 47 94.0 2024/05/21 01:40:00 15 2024/05/21 04:44:00 0
i386 5 10.6 2024/05/21 01:52:00 47 2024/05/21 04:13:00 54
m68k 1 2.1 2024/05/21 04:00:00 53 2024/05/21 04:00:00 53
x86_64 32 68.1 2024/05/21 01:40:00 15 2024/05/21 04:31:00 27
powerpc64 4 8.5 2024/05/21 04:20:00 0 2024/05/21 04:34:00 0
aarch64 4 8.5 2024/05/21 03:08:00 37 2024/05/21 04:37:00 0
riscv64 1 2.1 2024/05/21 04:44:00 0 2024/05/21 04:44:00 0
linux 33 70.2 2024/05/21 01:40:00 15 2024/05/21 04:44:00 0
win32 1 2.1 2024/05/21 03:02:00 25 2024/05/21 03:02:00 25
go32v2 1 2.1 2024/05/21 04:13:00 54 2024/05/21 04:13:00 54
solaris 12 25.5 2024/05/21 03:08:00 30 2024/05/21 03:35:00 27
3.3.1 29 61.7 2024/05/21 01:40:00 15 2024/05/21 04:44:00 0
3.2.3 18 38.3 2024/05/21 01:52:00 47 2024/05/21 04:34:00 0

Source:

program testmem;

{$mode objfpc}

uses cmem;

Type
  PLongint = ^Longint;

Var P : PLongint;
    i : longint;
    err : boolean;
begin
  P:=GetMem(1000*SizeOf(Longint));
  For I:=0 to 999 do
    P[i]:=i;
  P:=ReallocMem(P,500*SizeOf(Longint));
  For I:=0 to 499 do
    if P[i]<>i Then
      begin
        Writeln ('Oh-oh, ',i,'th index differs.');
        err:=true;
      end;
  FreeMem(P);
  if err then
    halt(1);
end.

{
  $Log: testcmem.pp,v $
  Revision 1.1  2004/03/15 21:49:11  peter
    * test for cmem unit

  Revision 1.3  2002/09/08 15:44:40  michael
  + fixed log entry

}

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