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

t_id 703
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/17 12:36:00 36 2024/05/17 23:38:00 29
i386 16 32.0 2024/05/17 22:07:00 21 2024/05/17 23:38:00 29
sparc 11 22.0 2024/05/17 23:24:00 38 2024/05/17 23:38:00 38
powerpc 1 2.0 2024/05/17 21:13:00 42 2024/05/17 21:13:00 42
x86_64 6 12.0 2024/05/17 12:36:00 36 2024/05/17 14:42:00 39
powerpc64 13 26.0 2024/05/17 20:12:00 105 2024/05/17 20:54:00 132
aarch64 3 6.0 2024/05/17 16:15:00 32 2024/05/17 16:28:00 32
linux 18 36.0 2024/05/17 12:36:00 36 2024/05/17 21:13:00 42
win32 4 8.0 2024/05/17 22:07:00 21 2024/05/17 23:27:00 24
solaris 23 46.0 2024/05/17 23:23:00 25 2024/05/17 23:38:00 29
darwin 3 6.0 2024/05/17 16:15:00 32 2024/05/17 16:28:00 32
win64 2 4.0 2024/05/17 13:34:00 47 2024/05/17 14:42:00 39
3.3.1 40 80.0 2024/05/17 12:37:00 18 2024/05/17 23:38:00 29
3.2.3 10 20.0 2024/05/17 12:36:00 36 2024/05/17 23:38:00 38

Source:

program TestVm2;

procedure Test;
var
  P: Pointer;
begin
  P:=nil;
  ReAllocMem(P, 8);
  ReAllocMem(P, 0);
  if P<>nil then
    begin
      Writeln('ReAllocMem wtih zero size does not set pointer to nil');
      Writeln('Bug 813 is not yet fixed');
      Halt(1);
    end;
end;

var MemBefore : longint;
begin
  writeln(MemAvail);
  MemBefore:=MemAvail;
  Test;
  writeln(MemAvail);
  if MemBefore<>MemAvail then
    begin
      Writeln('ReAllocMem creates emory leaks');
      Writeln('Bug 812 is not yet fixed');
    end;
end.

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