Test suite results for test file test/units/system/tassert7.pp

Test run data :

Run ID:
Operating system: wasi
Processor: wasm32
Version: 3.3.1
Fails/OK/Total: 275/8854/9129
Version: 3.3.1
Full version: 3.3.1-16504-gf356d8cc51
Comment: -n -vx -Adefault -CTnoexceptions -CTwasmthreads -Fd
Machine: cfarm14
Category: 1
SVN revisions: f356d8cc51:7d83cea8da:5769d737d1:fc1050a834
Submitter: muller
Date: 2024/09/26 20:18:00 <> 2024/09/25
Previous run: 0
Next run:

Hide skipped tests

Hide successful tests

Test file "test/units/system/tassert7.pp" information:

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

Detailed test run results:

tr_idruntr_oktr_skiptr_result
9496584491015615FalseFalseFailed to run

Record count: 1

Log of 1015615:

Try..catch of assertion...An unhandled exception occurred at $00000000:
EAssertionFailed: Assertion failed (tassert7.pp, line 16)
  $00000000

##WASI-EXITCODE: 217 -> 125##>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Source:

program tassert7;
{$C+}
{$mode objfpc}

uses sysutils;

procedure Success;
 Begin
   WriteLn('Success!');
   halt;
 end;

Begin
  Write('Try..catch of assertion...');
  try
    assert(false);
  except
    on EAssertionFailed do Success;
  end;  
  WriteLn('Failed!');
  Halt(1);
end.

{
  $Log: tassert7.pp,v $
  Revision 1.1  2002/09/18 18:30:30  carl
    + currency testing
    * more system unit routine testing

}

Link to SVN view of test/units/system/tassert7.pp source.