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

t_id 1424
t_adddate 2004/12/27
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 02:33:00 24 2024/05/21 06:24:00 23
i386 5 10.0 2024/05/21 03:08:00 33 2024/05/21 06:01:00 28
m68k 2 4.0 2024/05/21 05:47:00 63 2024/05/21 06:07:00 190
powerpc 4 8.0 2024/05/21 06:13:00 42 2024/05/21 06:24:00 50
arm 2 4.0 2024/05/21 05:29:00 69 2024/05/21 05:53:00 67
x86_64 17 34.0 2024/05/21 02:33:00 24 2024/05/21 06:23:00 27
powerpc64 7 14.0 2024/05/21 05:26:00 112 2024/05/21 05:49:00 112
mips 3 6.0 2024/05/21 04:05:00 47 2024/05/21 06:16:00 240
mipsel 1 2.0 2024/05/21 06:23:00 148 2024/05/21 06:23:00 148
aarch64 9 18.0 2024/05/21 05:20:00 46 2024/05/21 06:24:00 23
linux 31 62.0 2024/05/21 02:33:00 24 2024/05/21 06:24:00 50
win32 1 2.0 2024/05/21 06:01:00 28 2024/05/21 06:01:00 28
go32v2 1 2.0 2024/05/21 05:41:00 55 2024/05/21 05:41:00 55
solaris 10 20.0 2024/05/21 05:55:00 29 2024/05/21 06:19:00 29
darwin 7 14.0 2024/05/21 05:42:00 24 2024/05/21 06:24:00 23
3.3.1 20 40.0 2024/05/21 02:33:00 24 2024/05/21 06:24:00 23
3.2.3 30 60.0 2024/05/21 03:08:00 33 2024/05/21 06:23:00 148

Source:

{ Source provided for Free Pascal Bug Report 3478 }
{ Submitted by "Michalis Kamburelis" on  2004-12-26 }
{ e-mail: michalis@camelot.homedns.org }
{ Before fixing bug 3477 this prints
    FFFFFFF
    FFFFFFFFFFFFFFFF
    0000000FFFFFFFFF
    9999999
    FFFFFFFF99999999
    0000000999999999

  After fixing 3477 with my patch this prints
    FFFFFFF
    FFFFFFFFFFFFFFFF
    FFFFFFFFF
    9999999
    FFFFFFFF99999999
    999999999
  so part of the problems are gone, but not all.

  Then, after fixing this bug with my simple patch it correctly prints
    FFFFFFF
    FFFFFFFF
    FFFFFFFFF
    9999999
    99999999
    999999999
}

uses SysUtils,erroru;

procedure Check(a,b:ansistring);
begin
  writeln(a);
  if a<>b then
    error;
end;

begin
 check(Format('%x', [$FFFFFFF]),'FFFFFFF');
 check(Format('%x', [$FFFFFFFF]),'FFFFFFFF');
 check(Format('%x', [$FFFFFFFFF]),'FFFFFFFFF');

 check(Format('%x', [$9999999]),'9999999');
 check(Format('%x', [$99999999]),'99999999');
 check(Format('%x', [$999999999]),'999999999');
end.

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