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

t_id 373
t_adddate 2003/10/03
t_result 227
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 05:53:00 0
i386 8 16.0 2024/05/21 01:52:00 47 2024/05/21 05:41:00 55
m68k 2 4.0 2024/05/21 04:00:00 53 2024/05/21 05:47:00 0
sparc 1 2.0 2024/05/21 04:50:00 56 2024/05/21 04:50:00 56
powerpc 1 2.0 2024/05/21 04:15:00 238 2024/05/21 04:15:00 238
arm 1 2.0 2024/05/21 05:53:00 0 2024/05/21 05:53:00 0
x86_64 16 32.0 2024/05/21 01:40:00 15 2024/05/21 05:38:00 35
powerpc64 14 28.0 2024/05/21 04:20:00 53 2024/05/21 05:49:00 0
mipsel 1 2.0 2024/05/21 04:11:00 185 2024/05/21 04:11:00 185
aarch64 5 10.0 2024/05/21 03:50:00 37 2024/05/21 05:49:00 0
riscv64 1 2.0 2024/05/21 04:44:00 30 2024/05/21 04:44:00 30
linux 42 84.0 2024/05/21 01:40:00 15 2024/05/21 05:53:00 0
win32 1 2.0 2024/05/21 04:53:00 28 2024/05/21 04:53:00 28
go32v2 3 6.0 2024/05/21 04:13:00 54 2024/05/21 05:41:00 55
solaris 2 4.0 2024/05/21 03:16:00 19 2024/05/21 03:33:00 21
darwin 2 4.0 2024/05/21 05:42:00 24 2024/05/21 05:49:00 0
3.3.1 28 56.0 2024/05/21 01:40:00 15 2024/05/21 05:49:00 0
3.2.3 22 44.0 2024/05/21 01:52:00 47 2024/05/21 05:53:00 0

Source:

{ %RESULT=227 }
{ Old file: tbs0150.pp }
{ Shows that the assert() macro is missing under Delphi OK 0.99.9 (PFV) }

{
 bug to show that there is no assert() macro and directive
}

var B : boolean;
    i : integer;

begin
  b:=true;
  i:=0;
  // First for assert messages should not give anything.
  // First two generate code, but are OK.
  // second two don't generate code ($C- !)
{$c+}
  assert (b);
  assert (I=0);
{$c-}
  assert (not(b));
  assert (i<>0);
{$c+}
  // This one should give the normal assert message.
  assert (not(b));
  // This one should give a custom assert message.
  // you must uncomment the previous one to see this one.
  assert (not(I=0),'Custom assert message');
end.

Link to SVN view of tbs/tb0130.pp source.