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=48 Percentage= 96.00

Result type Cat. Count Percentage First date Last Date
Failed to run 2 4.0 2024/05/17 12:01:00 74 2024/05/17 12:19:00 173
sparc 1 50.0 2024/05/17 12:01:00 74 2024/05/17 12:01:00 74
sparc64 1 50.0 2024/05/17 12:19:00 173 2024/05/17 12:19:00 173
linux 2 100.0 2024/05/17 12:01:00 74 2024/05/17 12:19:00 173
3.3.1 2 100.0 2024/05/17 12:01:00 74 2024/05/17 12:19:00 173
Successfully run 48 96.0 2024/05/17 11:04:00 38 2024/05/17 13:34:00 47
i386 10 20.8 2024/05/17 11:29:00 44 2024/05/17 12:24:00 45
powerpc 1 2.1 2024/05/17 11:30:00 242 2024/05/17 11:30:00 242
x86_64 28 58.3 2024/05/17 11:10:00 26 2024/05/17 13:34:00 47
powerpc64 2 4.2 2024/05/17 11:34:00 242 2024/05/17 11:39:00 59
mips 1 2.1 2024/05/17 11:21:00 241 2024/05/17 11:21:00 241
mipsel 1 2.1 2024/05/17 11:26:00 47 2024/05/17 11:26:00 47
aarch64 4 8.3 2024/05/17 11:04:00 38 2024/05/17 12:15:00 38
riscv64 1 2.1 2024/05/17 11:56:00 31 2024/05/17 11:56:00 31
linux 37 77.1 2024/05/17 11:04:00 38 2024/05/17 12:48:00 22
solaris 10 20.8 2024/05/17 11:29:00 44 2024/05/17 12:24:00 45
win64 1 2.1 2024/05/17 13:34:00 47 2024/05/17 13:34:00 47
3.3.1 17 35.4 2024/05/17 11:10:00 26 2024/05/17 13:34:00 47
3.2.2 10 20.8 2024/05/17 11:29:00 44 2024/05/17 12:24:00 45
3.2.3 21 43.8 2024/05/17 11:04:00 38 2024/05/17 12:36:00 36

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.