Test suite results for test file test/tlibrary2.pp

Test run data :

Run ID:
Operating system: linux
Processor: arm
Version: 3.2.3
Fails/OK/Total: 210/7634/7844
Version: 3.2.3
Full version: 3.2.3-1373-gae0fe8a6a0
Comment: -Cparmv6 -Cfvfpv2 -Caeabi
Machine: cfarm13
Category: 1
SVN revisions: fdf93c5b29:c17a0e20f5:ae0fe8a6a0:d1c29e6cb9
Submitter: muller
Date: 2024/04/28 12:36:00 <> 2024/04/09
Previous run: 940442
Next run: 941933

Hide skipped tests

Hide successful tests

Test file "test/tlibrary2.pp" information:

t_id 59
t_adddate 2003/10/03
t_result 0
Flag t_needlibrary set
t_knownrunerror 0
t_opts -Fl.

Detailed test run results:

tr_idruntr_oktr_skiptr_result
482352249941210FalseFalseFailed to compile

Record count: 1

Log of 941210:

/home/muller/bin/arm-linux-ld: cannot find -ltlibrary1: No such file or directory
tlibrary2.pp(35,1) Error: Error while linking
tlibrary2.pp(35,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

Source:

{ %OPT=-Fl. }
{ %NEEDLIBRARY }

{ Test program to test linking to fpc library }

{$ifdef win32}
 {$define supported}
{$endif win32}
{$ifdef Unix}
 {$define supported}
{$endif Unix}
{$ifndef fpc}
   {$define supported}
{$endif}

{$ifdef supported}

const
{$ifdef win32}
  libname='tlibrary1.dll';
{$else}
  libname='libtlibrary1.so';
{$endif}

procedure test;external libname name 'TestName';

begin
  test;
end.
{$else not supported}
begin
  Writeln('Dummy test because target does not support libraries');
end.
{$endif not supported}

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