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

t_id 56
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/16 21:54:00 68 2024/05/16 23:57:00 23
i386 18 36.0 2024/05/16 22:08:00 35 2024/05/16 23:57:00 23
sparc 18 36.0 2024/05/16 23:24:00 38 2024/05/16 23:55:00 41
powerpc 2 4.0 2024/05/16 21:54:00 68 2024/05/16 22:06:00 76
x86_64 12 24.0 2024/05/16 22:22:00 29 2024/05/16 22:53:00 29
linux 4 8.0 2024/05/16 21:54:00 68 2024/05/16 23:46:00 27
win32 4 8.0 2024/05/16 22:08:00 35 2024/05/16 23:57:00 23
solaris 42 84.0 2024/05/16 22:22:00 29 2024/05/16 23:55:00 41
3.3.1 26 52.0 2024/05/16 22:08:00 35 2024/05/16 23:57:00 23
3.2.3 24 48.0 2024/05/16 21:54:00 68 2024/05/16 23:55:00 41

Source:

program test_interrupt;



procedure test1;interrupt;
begin
  Writeln('Test1 interrupt');
end;

procedure test2(var a,b : longint);interrupt;
begin
  Writeln('Test2 interrupt');
  a:=1;
  b:=2;
end;

function test3 : longint; interrupt;
begin
  Writeln('test3 called');
  test3:=55;
end;

  var
    x,y : longint;

begin
  x:=-1;
  test1;
  test2(x,y);
  if (x<>1) or (y<>2) then
    begin
      Writeln('Error with interrupt');
      Halt(1);
    end;
  if test3<>55 then
    begin
      Writeln('Error with interrupt function');
      Halt(1);
    end;
end.

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