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

t_id 850
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=9 Percentage= 18.00

Skipped=41 Percentage= 82.00

Result type Cat. Count Percentage First date Last Date
Successfully run 9 18.0 2024/05/08 13:01:00 21 2024/05/08 19:00:00 22
i386 9 100.0 2024/05/08 13:01:00 21 2024/05/08 19:00:00 22
win32 9 100.0 2024/05/08 13:01:00 21 2024/05/08 19:00:00 22
3.3.1 9 100.0 2024/05/08 13:01:00 21 2024/05/08 19:00:00 22
Skipping test because for other target 41 82.0 2024/05/08 12:37:00 36 2024/05/08 19:30:00 229
i386 2 4.9 2024/05/08 12:44:00 172 2024/05/08 19:08:00 176
m68k 3 7.3 2024/05/08 12:40:00 244 2024/05/08 19:15:00 190
sparc 2 4.9 2024/05/08 13:17:00 68 2024/05/08 13:43:00 62
powerpc 2 4.9 2024/05/08 12:52:00 243 2024/05/08 13:17:00 181
arm 1 2.4 2024/05/08 19:02:00 59 2024/05/08 19:02:00 59
x86_64 3 7.3 2024/05/08 12:43:00 85 2024/05/08 14:13:00 40
powerpc64 4 9.8 2024/05/08 12:55:00 242 2024/05/08 13:33:00 60
mips 4 9.8 2024/05/08 12:44:00 239 2024/05/08 19:23:00 240
mipsel 3 7.3 2024/05/08 12:48:00 183 2024/05/08 19:30:00 229
aarch64 13 31.7 2024/05/08 16:11:00 32 2024/05/08 18:55:00 44
sparc64 3 7.3 2024/05/08 12:38:00 163 2024/05/08 14:06:00 137
loongarch64 1 2.4 2024/05/08 12:37:00 36 2024/05/08 12:37:00 36
linux 29 70.7 2024/05/08 12:37:00 36 2024/05/08 19:30:00 229
darwin 12 29.3 2024/05/08 16:11:00 32 2024/05/08 17:40:00 56
3.3.1 13 31.7 2024/05/08 12:37:00 36 2024/05/08 16:39:00 49
3.2.3 28 68.3 2024/05/08 12:44:00 172 2024/05/08 19:30:00 229

Source:

{ %target=win32 }
{ Source provided for Free Pascal Bug Report 1779 }
{ Submitted by "Pierre" on  2002-01-25 }
{ e-mail: pierre@freepascal.org }

uses
  windows;

function GetLargestConsoleWindowSizeAlternate(h : longint) : dword;
  external 'kernel32' name 'GetLargestConsoleWindowSize';

var
  c1,c : coord;
  y : dword;
begin
  longint(c):=GetStdHandle(STD_OUTPUT_HANDLE);
  c1:=GetLargestConsoleWindowSize(GetStdHandle(STD_OUTPUT_HANDLE));
  Writeln('Max window size is ',c1.x,'x',c1.y);
  y:=GetLargestConsoleWindowSizeAlternate(GetStdHandle(STD_OUTPUT_HANDLE));
  c.x := y and $ffff;
  c.y:=  y shr 16;
  Writeln('Max window size is ',c.x,'x',c.y);
  if (c.x<>c1.X) or (c.Y<>c1.y) then
    begin
      Writeln('RTL bug');
      Halt(1);
    end;
end.

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