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

t_id 30
t_version 1.1
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/20 23:33:00 38 2024/05/21 01:32:00 28
i386 33 66.0 2024/05/21 00:08:00 23 2024/05/21 01:32:00 28
sparc 5 10.0 2024/05/20 23:33:00 38 2024/05/20 23:55:00 41
x86_64 7 14.0 2024/05/20 23:44:00 14 2024/05/21 01:25:00 26
powerpc64 2 4.0 2024/05/21 01:10:00 101 2024/05/21 01:11:00 108
aarch64 3 6.0 2024/05/21 00:12:00 32 2024/05/21 01:29:00 35
linux 45 90.0 2024/05/20 23:44:00 14 2024/05/21 01:32:00 28
solaris 5 10.0 2024/05/20 23:33:00 38 2024/05/20 23:55:00 41
3.3.1 30 60.0 2024/05/20 23:37:00 42 2024/05/21 01:32:00 28
3.2.3 20 40.0 2024/05/20 23:33:00 38 2024/05/21 01:30:00 34

Source:

{ %VERSION=1.1 }
program testv6;

uses variants,varutils;

Procedure TestLongInt(B : Boolean);

Var 
  V : Variant;
  I : LongInt;

begin
  Write('Longint assignment : ',B,' -> ');
  V:=B;
  I:=V;
  Writeln(I);
end;

Procedure Testsmallint(B : Boolean);

Var 
  V : Variant;
  I : smallint;

begin
  Write('smallint assignment : ',B,' -> ');
  V:=B;
  I:=V;
  Writeln(I);
end;


Procedure TestShortInt(B : Boolean);

Var 
  V : Variant;
  I : ShortInt;

begin
  Write('ShortInt assignment : ',B,' -> ');
  V:=B;
  I:=V;
  Writeln(I);
end;

Procedure TestCardinal(B : Boolean);

Var 
  V : Variant;
  I : Cardinal;

begin
  Write('Cardinal assignment : ',B,' -> ');
  V:=B;
  I:=V;
  Writeln(I);
end;

Procedure TestWord(B : Boolean);

Var 
  V : Variant;
  I : Word;

begin
  Write('Word assignment : ',B,' -> ');
  V:=B;
  I:=V;
  Writeln(I);
end;

Procedure TestByte(B : Boolean);

Var 
  V : Variant;
  I : Byte;

begin
  Write('Byte assignment : ',B,' -> ');
  V:=B;
  I:=V;
  Writeln(I);
end;


Procedure TestInt64(B : Boolean);

Var 
  V : Variant;
  I : Int64;

begin
  Write('Int64 assignment : ',B,' -> ');
  V:=B;
  I:=V;
  Writeln(I);
end;

Procedure TestQWord(B : Boolean);

Var 
  V : Variant;
  I : QWord;

begin
  Write('QWord assignment : ',B,' -> ');
  V:=B;
  I:=V;
  Writeln(I);
end;

begin
  TestLongint(True);
  TestSmallInt(True);
  TestShortInt(True);
  TestCardinal(True);
  TestWord(True);
  TestByte(True);
  TestInt64(True);  
  TestQWord(True);
  TestLongint(False);
  TestSmallInt(False);
  TestShortInt(False);
  TestCardinal(False);
  TestWord(False);
  TestByte(False);
  TestInt64(False);  
  TestQWord(False);
end.

Link to SVN view of test/testv6.pp source.