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

t_id 258
t_adddate 2003/10/03
Flag t_interactive set
t_result 0
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=0 Percentage= 0.00

Skipped=50 Percentage= 100.00

Result type Cat. Count Percentage First date Last Date
Skipping test because it is interactive 50 100.0 2024/05/08 13:17:00 68 2024/05/08 20:25:00 69
i386 10 20.0 2024/05/08 13:27:00 22 2024/05/08 19:48:00 175
m68k 2 4.0 2024/05/08 19:15:00 190 2024/05/08 19:55:00 190
sparc 3 6.0 2024/05/08 13:17:00 68 2024/05/08 20:01:00 79
powerpc 3 6.0 2024/05/08 13:17:00 181 2024/05/08 20:18:00 184
arm 3 6.0 2024/05/08 19:02:00 59 2024/05/08 20:25:00 69
x86_64 3 6.0 2024/05/08 13:35:00 32 2024/05/08 20:24:00 52
powerpc64 4 8.0 2024/05/08 13:25:00 77 2024/05/08 19:51:00 71
mips 3 6.0 2024/05/08 16:39:00 49 2024/05/08 20:03:00 240
mipsel 2 4.0 2024/05/08 19:30:00 229 2024/05/08 20:10:00 148
aarch64 14 28.0 2024/05/08 16:11:00 32 2024/05/08 19:34:00 43
sparc64 3 6.0 2024/05/08 13:32:00 159 2024/05/08 20:18:00 148
linux 30 60.0 2024/05/08 13:17:00 68 2024/05/08 20:25:00 69
win32 8 16.0 2024/05/08 13:27:00 22 2024/05/08 19:00:00 22
darwin 12 24.0 2024/05/08 16:11:00 32 2024/05/08 17:40:00 56
3.3.1 12 24.0 2024/05/08 13:17:00 68 2024/05/08 19:00:00 22
3.2.3 38 76.0 2024/05/08 13:17:00 181 2024/05/08 20:25:00 69

Source:

{ %INTERACTIVE }
{
  $Id: tcrt.pp,v 1.1 2001/05/09 16:12:50 carl Exp $

  Program to test CRT unit by Mark May.
  Only standard TP functions are tested (except WhereX, WhereY).
}
program tesicrt;

uses crt;
var
  i,j : longint;
  fil : text;
  c   : char;
begin
{Window/AssignCrt/GotoXY}
  clrscr;
  writeln ('This should be on a clear screen...');
  gotoxy (10,10);
  writeln ('(10,10) is the coordinate of this sentence');
  window  (10,11,70,22);
  writeln ('Window (10,11,70,22) executed.');
  writeln ('Sending some output to a file, assigned to crt.');
  assigncrt ( fil);
  rewrite (fil);
  writeln (fil,'This was written to the file, assigned to the crt.');
  writeln (fil,'01234567890123456789012345678901234567890123456789012345678901234567890');
  close (fil);
  writeln ('The above too, but this not any more');
  write ('Press any key to continue');
  c:=readkey;
  clrscr;
  writeln ('the small window should have been cleared.');
  write ('Press any key to continue');
  c:=readkey;

{Colors/KeyPressed}
  window (1,1,80,25);
  clrscr;
  writeln ('Color testing :');
  writeln;
  highvideo;
  write ('highlighted text');
  normvideo;
  write (' normal text ');
  lowvideo;
  writeln ('And low text.');
  writeln;
  writeln ('Color chart :');
  for i:=black to lightgray do
   begin
     textbackground (i);
     textcolor (0);
     write ('backgr. : ',i:2,' ');
     for j:= black to white do
      begin
        textcolor (j);
        write (' ',j:2,' ');
      end;
     writeln;
   end;
  normvideo;
  writeln ('The same, with blinking foreground.');
  for i:=black to lightgray do
   begin
     textbackground (i);
     textcolor (0);
     write ('backgr. : ',i:2,' ');
     for j:= black to white do
      begin
        textcolor (j+128);
        write (' ',j:2,' ');
      end;
     writeln;
   end;
  textcolor (white);
  textbackground (black);
  writeln;
  writeln ('press any key to continue');
  repeat until keypressed;
  c:=readkey;

{ClrEol/DelLine/InsLine}
  clrscr;
  writeln ('Testing some line functions :');
  writeln ;
  writeln ('This line should become blank after you press enter');
  writeln;
  writeln ('The following line should then become blank from column 10');
  writeln ('12345678901234567890');
  writeln;
  writeln ('This line should dissapear.');
  writeln;
  writeln ('Between this line and the next, an empty line should appear.');
  writeln ('This is the next line, above which the empty one should appear');
  writeln;
  write ('Press any key to observe the predicted effects.');
  readkey;
  gotoxy(1,3);clreol;
  gotoxy (10,6);clreol;
  gotoxy (1,8);delline;
  gotoxy (1,10); insline;
  gotoxy (17,13); clreol;
  writeln ('end.');
  readkey;
end.

Link to SVN view of test/units/crt/tcrt.pp source.