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

t_id 1459
t_adddate 2005/01/25
t_result 0
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=44 Percentage= 88.00

Result type Cat. Count Percentage First date Last Date
Failed to run 6 12.0 2024/10/19 08:33:00 120 2024/10/19 11:16:00 40
sparc 3 50.0 2024/10/19 09:01:00 54 2024/10/19 11:16:00 40
sparc64 3 50.0 2024/10/19 08:33:00 120 2024/10/19 10:46:00 141
linux 6 100.0 2024/10/19 08:33:00 120 2024/10/19 11:16:00 40
3.3.1 3 50.0 2024/10/19 10:30:00 43 2024/10/19 11:16:00 40
3.2.3 3 50.0 2024/10/19 08:33:00 120 2024/10/19 09:25:00 118
Successfully run 44 88.0 2024/10/19 07:29:00 50 2024/10/19 13:34:00 29
i386 5 11.4 2024/10/19 08:55:00 60 2024/10/19 11:13:00 63
m68k 2 4.5 2024/10/19 07:29:00 50 2024/10/19 10:22:00 40
powerpc 5 11.4 2024/10/19 08:40:00 51 2024/10/19 13:26:00 65
arm 2 4.5 2024/10/19 09:36:00 32 2024/10/19 10:03:00 32
x86_64 11 25.0 2024/10/19 08:40:00 45 2024/10/19 13:34:00 29
powerpc64 7 15.9 2024/10/19 08:43:00 65 2024/10/19 10:45:00 52
mips 1 2.3 2024/10/19 09:54:00 35 2024/10/19 09:54:00 35
mipsel 2 4.5 2024/10/19 09:59:00 38 2024/10/19 10:35:00 142
aarch64 5 11.4 2024/10/19 08:15:00 27 2024/10/19 09:57:00 26
riscv64 2 4.5 2024/10/19 10:25:00 33 2024/10/19 11:10:00 26
loongarch64 2 4.5 2024/10/19 09:45:00 25 2024/10/19 10:17:00 30
linux 28 63.6 2024/10/19 07:29:00 50 2024/10/19 11:38:00 25
go32v2 4 9.1 2024/10/19 08:55:00 60 2024/10/19 11:13:00 63
solaris 7 15.9 2024/10/19 13:22:00 24 2024/10/19 13:34:00 29
aix 5 11.4 2024/10/19 08:40:00 51 2024/10/19 13:26:00 65
3.3.1 26 59.1 2024/10/19 08:55:00 60 2024/10/19 13:26:00 65
3.2.3 18 40.9 2024/10/19 07:29:00 50 2024/10/19 13:34:00 29

Source:

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

uses
  Classes, SysUtils;

type
  { TMyObject }

  TMyObject = class(TObject)
  public
    constructor Create(TheOwner: TObject);
  end;

{ TMyObject }

constructor TMyObject.Create(TheOwner: TObject);
begin
  // create AV
  if TheOwner.ClassName='' then;
end;

var
  i : integer;
begin
  i:=0;
  writeln('Creating the first time');
  try
    TMyObject.Create(nil);
  except
    on E: Exception do begin
      writeln('E='+E.Message);
      inc(i);
    end;
  end;
  writeln('Creating the second time');
  try
    TMyObject.Create(nil);
  except
    on E: Exception do begin
      writeln('E='+E.Message);
      inc(i);
    end;
  end;
  writeln('Ending ..');
  if i<>2 then
    halt(1);
end.

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