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

t_id 188
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/20 17:12:00 45 2024/05/20 23:47:00 0
i386 19 38.0 2024/05/20 17:12:00 45 2024/05/20 23:41:00 23
m68k 1 2.0 2024/05/20 22:44:00 190 2024/05/20 22:44:00 190
sparc 15 30.0 2024/05/20 23:25:00 38 2024/05/20 23:46:00 0
powerpc 1 2.0 2024/05/20 23:05:00 185 2024/05/20 23:05:00 185
arm 1 2.0 2024/05/20 22:30:00 59 2024/05/20 22:30:00 59
x86_64 4 8.0 2024/05/20 17:51:00 26 2024/05/20 19:35:00 26
powerpc64 2 4.0 2024/05/20 23:13:00 213 2024/05/20 23:20:00 71
mips 1 2.0 2024/05/20 22:51:00 240 2024/05/20 22:51:00 240
mipsel 1 2.0 2024/05/20 22:58:00 148 2024/05/20 22:58:00 148
aarch64 4 8.0 2024/05/20 17:31:00 33 2024/05/20 22:24:00 44
sparc64 1 2.0 2024/05/20 23:47:00 0 2024/05/20 23:47:00 0
linux 13 26.0 2024/05/20 22:24:00 44 2024/05/20 23:47:00 0
win32 1 2.0 2024/05/20 23:41:00 23 2024/05/20 23:41:00 23
solaris 29 58.0 2024/05/20 17:12:00 45 2024/05/20 23:46:00 0
darwin 3 6.0 2024/05/20 17:31:00 33 2024/05/20 17:50:00 56
win64 4 8.0 2024/05/20 17:51:00 26 2024/05/20 19:35:00 26
3.3.1 24 48.0 2024/05/20 17:51:00 26 2024/05/20 23:46:00 0
3.2.2 3 6.0 2024/05/20 17:12:00 45 2024/05/20 17:30:00 45
3.2.3 23 46.0 2024/05/20 17:31:00 33 2024/05/20 23:47:00 0

Source:

{****************************************************************}
{  CODE GENERATOR TEST PROGRAM                                   }
{  By Carl Eric Codere                                           }
{****************************************************************}
{ NODE TESTED : secondloadvmt()                                  }
{****************************************************************}
{ DEFINES:                                                       }
{            FPC     = Target is FreePascal compiler             }
{****************************************************************}
{ REMARKS : Tested with Delphi 3 as reference implementation     }
{****************************************************************}
program tloadvmt;

{$ifdef fpc}
{$mode objfpc}
{$endif}

const
  RESULT_STRING = 'Hello world';

Type
  TAObject = class(TObject)
    a : longint;
    end;
  TBObject = Class(TAObject)
    b : longint;
    s : shortstring;
      constructor create(c: longint);
      function getstring : shortstring;
    end;


    procedure fail;
    begin
      WriteLn('Failure.');
      halt(1);
    end;


 constructor tbobject.create(c:longint);
  begin
    taobject.create;
    b:=c;
    s:=RESULT_STRING;
  end;

 function tbobject.getstring : shortstring;
  begin
    getstring := s;
  end;


var
 bobj: TBobject;
 i: integer;
 l : longint;
Begin
  i:=$7f;
  Write('Secondloadvmt test...');
  bobj:=TBobject.create(i);
  if bobj.getstring <> RESULT_STRING then
    fail
  else
    WriteLn('Success!');
end.

{
  $Log: tloadvmt.pp,v $
  Revision 1.2  2002/09/07 15:40:56  peter
    * old logs removed and tabs fixed

  Revision 1.1  2002/08/10 08:27:43  carl
    + mre tests for cg testuit

}

Link to SVN view of test/cg/tloadvmt.pp source.