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

t_id 242
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/21 01:40:00 15 2024/05/21 04:44:00 30
i386 6 12.0 2024/05/21 01:52:00 47 2024/05/21 04:13:00 54
m68k 1 2.0 2024/05/21 04:00:00 53 2024/05/21 04:00:00 53
powerpc 1 2.0 2024/05/21 04:15:00 238 2024/05/21 04:15:00 238
x86_64 32 64.0 2024/05/21 01:40:00 15 2024/05/21 04:31:00 27
powerpc64 4 8.0 2024/05/21 04:20:00 53 2024/05/21 04:34:00 57
mipsel 1 2.0 2024/05/21 04:11:00 185 2024/05/21 04:11:00 185
aarch64 4 8.0 2024/05/21 03:08:00 37 2024/05/21 04:37:00 35
riscv64 1 2.0 2024/05/21 04:44:00 30 2024/05/21 04:44:00 30
linux 36 72.0 2024/05/21 01:40:00 15 2024/05/21 04:44:00 30
win32 1 2.0 2024/05/21 03:02:00 25 2024/05/21 03:02:00 25
go32v2 1 2.0 2024/05/21 04:13:00 54 2024/05/21 04:13:00 54
solaris 12 24.0 2024/05/21 03:08:00 30 2024/05/21 03:35:00 27
3.3.1 32 64.0 2024/05/21 01:40:00 15 2024/05/21 04:44:00 30
3.2.3 18 36.0 2024/05/21 01:52:00 47 2024/05/21 04:34:00 57

Source:

{ Part of System unit testsuit        }
{ Carl Eric Codere Copyright (c) 2002 }
program tseg;

const
 cst : integer = 0;
var
 variable : integer;

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

procedure test_cseg;
 begin
   Write('Testing CSeg()...');
   if cseg <> 0 then
     fail
   else
     WriteLn('Success!');
 end;
 
procedure test_dseg;
 begin
   Write('Testing DSeg()...');
   if dseg <> 0 then
     fail
   else
     WriteLn('Success!');
 end;
 
procedure test_sseg;
 begin
   Write('Testing SSeg()...');
   if sseg <> 0 then
     fail
   else
     WriteLn('Success!');
 end;
 
procedure test_seg;
 var
   x : longint;
   _result : boolean;
 begin
   _result := true;
   Write('Testing Seg()...');
   if seg(x) <> 0 then
     _result := false;
   if seg(cst) <> 0 then
     _result := false;
   if seg(variable) <> 0 then
     _result := false;
   if not _result then  
     fail
   else
     WriteLn('Success!');
 end;
 
Begin
  test_cseg;
  test_dseg;
  test_seg;
  test_sseg;
end.

{
 $Log: tseg.pp,v $
 Revision 1.1  2002/09/16 19:15:54  carl
   * several new routines have a testsuit.

} 

Link to SVN view of test/units/system/tseg.pp source.