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

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

Detailed test run results:

Record count: 50

Total = 50

OK=39 Percentage= 78.00

Skipped=7 Percentage= 14.00

Result type Cat. Count Percentage First date Last Date
Failed to run 4 8.0 2024/09/26 19:54:00 70 2024/09/26 22:38:00 79
i386 4 100.0 2024/09/26 19:54:00 70 2024/09/26 22:38:00 79
go32v2 4 100.0 2024/09/26 19:54:00 70 2024/09/26 22:38:00 79
3.3.1 4 100.0 2024/09/26 19:54:00 70 2024/09/26 22:38:00 79
Successfully run 39 78.0 2024/09/26 18:42:00 90 2024/09/26 23:02:00 44
powerpc 14 35.9 2024/09/26 19:41:00 35 2024/09/26 23:02:00 44
powerpc64 17 43.6 2024/09/26 18:42:00 90 2024/09/26 22:29:00 103
riscv64 8 20.5 2024/09/26 19:14:00 123 2024/09/26 19:59:00 123
linux 39 100.0 2024/09/26 18:42:00 90 2024/09/26 23:02:00 44
3.3.1 23 59.0 2024/09/26 18:42:00 90 2024/09/26 20:38:00 84
3.2.3 16 41.0 2024/09/26 21:17:00 71 2024/09/26 23:02:00 44
Skipping test because for other target 7 14.0 2024/09/26 19:31:00 339 2024/09/26 22:50:00 299
wasm32 7 100.0 2024/09/26 19:31:00 339 2024/09/26 22:50:00 299
wasi 7 100.0 2024/09/26 19:31:00 339 2024/09/26 22:50:00 299
3.3.1 7 100.0 2024/09/26 19:31:00 339 2024/09/26 22:50:00 299

Source:

{ %TARGET=go32v2,linux }

{ Old file: tbs0105.pp }
{ typecasts are now ignored problem (NOT A bugs)         OK 0.99.1 }

{ Win32 signal support is still missing ! }

{$ifdef go32v2}
 uses dpmiexcp;
{$endif go32v2}
{$ifdef unix}
 {$ifdef ver1_0}
 uses linux;
 {$else}
 uses unix;
 {$endif}
{$endif unix}

  function our_sig(l : longint) : longint;{$ifdef unix}cdecl;{$endif}
    begin
       { If we land here the program works correctly !! }
       Writeln('Sigsegv signal recieved');
       our_sig:=0;
       Halt(0);
    end;

Var
 Sel: Word;
 v: pointer;
Begin
 Signal(SIGSEGV,signalhandler(@our_sig));
 { generate a sigsegv by writing to null-address }
 sel:=0;
 v:=nil;
{$ifdef go32v2}
  { on win9X no zero page protection :( }
  v:=pointer(-2);
{$endif go32v2}
 word(v^):=sel;
 { we should not go to here }
 Writeln('Error : signal not called');
 Halt(1);
end.

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