* enable 40+ tests for Haiku as per mantis #30470

git-svn-id: trunk@34312 -
This commit is contained in:
marco 2016-08-14 14:09:24 +00:00
parent e2652d8a56
commit 690f784c4d
43 changed files with 48 additions and 43 deletions

View File

@ -1,5 +1,5 @@
{ %CPU=i386 }
{ %TARGET=go32v2,win32,linux }
{ %TARGET=go32v2,win32,linux,haiku }
{ %NOTE=This test requires an installed Nasm }
{ Old file: tbs0043.pp }

View File

@ -1,4 +1,4 @@
{ %TARGET=go32v2,linux }
{ %TARGET=go32v2,linux,haiku }
{ %SKIPEMU=qemu-arm }
{ Old file: tbs0105.pp }

View File

@ -1,4 +1,4 @@
{ %TARGET=linux,go32v2 }
{ %TARGET=linux,go32v2,haiku }
{ %CPU=i386 }
{ %OPT= -Aas -Cg- }

View File

@ -1,4 +1,4 @@
{ %TARGET=win32,linux,wince }
{ %TARGET=win32,linux,wince,haiku }
{ %needlibrary }
{ %NORUN }

View File

@ -1,5 +1,5 @@
{ %version=1.1 }
{ %TARGET=linux,freebsd,darwin,solaris,aix }
{ %TARGET=linux,freebsd,darwin,solaris,aix,haiku }
{$linklib c}

View File

@ -1,4 +1,4 @@
{%TARGET=linux,freebsd,darwin,aix,openbsd,netbsd}
{%TARGET=linux,freebsd,darwin,aix,openbsd,netbsd,haiku}
program tb0524;
uses sockets,baseunix,sysutils;

View File

@ -1,5 +1,5 @@
{ %norun }
{ %target=linux }
{ %target=linux,haiku }
program test;

View File

@ -1,4 +1,4 @@
{ %target=linux }
{ %target=linux,haiku }
program setup;

View File

@ -1,4 +1,4 @@
{ %target=darwin,linux,freebsd,solaris,aix }
{ %target=darwin,linux,freebsd,solaris,aix,haiku }
{ %wpoparas=devirtcalls,optvmts,symbolliveness }
{ %wpopasses=2 }
{ %opt=-CX -XX -Xs- -g- }

View File

@ -1,4 +1,4 @@
{ %target=darwin,linux,freebsd,solaris,aix }
{ %target=darwin,linux,freebsd,solaris,aix,haiku }
{ %wpoparas=devirtcalls,optvmts,symbolliveness }
{ %wpopasses=2 }
{ %opt=-CX -XX -Xs- -g- }

View File

@ -1,4 +1,4 @@
{ %target=linux }
{ %target=linux,haiku }
{ %opt=-Xt }
program phello;

View File

@ -1,12 +1,17 @@
{ %target=linux,freebsd,darwin,solaris,aix,android }
{ %target=linux,freebsd,darwin,solaris,aix,android,haiku }
{$mode objfpc}
program testr;
uses sysutils;
function sprintf(buf,fmt : pchar) : longint; varargs;cdecl; external 'c';
{$ifdef haiku}
function cosh(f : double) : double; cdecl; external 'root';
function ccos(f : double) : double; cdecl; external 'root' name 'cos';
{$else}
function cosh(f : double) : double; cdecl; external 'm';
function ccos(f : double) : double; cdecl; external 'm' name 'cos';
{$endif}
Type
TTest = Class(TObject)

View File

@ -1,7 +1,7 @@
{ %norun }
{ %opt=-Cg }
{ %fail }
{ %target=linux,freebsd,darwin }
{ %target=linux,freebsd,darwin,haiku }
unit tw25788;

View File

@ -1,4 +1,4 @@
{ %target=go32v2,linux,freebsd,darwin }
{ %target=go32v2,linux,freebsd,darwin,haiku }
{ %note=This test needs C libraries }
{ %OPT=-pg }

View File

@ -1,4 +1,4 @@
{ %target=linux}
{ %target=linux,haiku}
{ %result=216 }
program ExecStack;

View File

@ -1,4 +1,4 @@
{ %target=linux }
{ %target=linux,haiku }
{ %needlibrary }
{ %norun }
library tw14958a;

View File

@ -1,4 +1,4 @@
{ %target=linux }
{ %target=linux,haiku }
{ %needlibrary }
{ %result=182 }
program loadlib;

View File

@ -1,5 +1,5 @@
{ %cpu=x86_64,i386,powerpc,powerpc64}
{ %skiptarget=linux,freebsd,netbsd,openbsd,win32,os2,emx,go32v2}
{ %skiptarget=linux,freebsd,netbsd,openbsd,win32,os2,emx,go32v2,haiku}
{ should actually only skip i386-variants of win32/linux/.. for now, but that can't be specified }

View File

@ -1,6 +1,6 @@
{ %norun }
{ %needlibrary }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android,haiku }
library tw16949a;

View File

@ -1,4 +1,4 @@
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android,haiku }
{ %needlibrary }
{ %delfiles=tw16949a }

View File

@ -1,5 +1,5 @@
{ %CPU=i386 }
{ %TARGET=go32v2,win32,linux }
{ %TARGET=go32v2,win32,linux,haiku }
{ %NOTE=This test requires an installed Nasm }
{ %OPT=-Cg- }

View File

@ -1,5 +1,5 @@
{ %opt=-Cg }
{ %target=-linux,freebsd,darwin }
{ %target=-linux,freebsd,darwin,haiku }
{ %norun }
{$mode objfpc}

View File

@ -1,4 +1,4 @@
{ %target=darwin,linux,freebsd,openbsd,netbsd,solaris }
{ %target=darwin,linux,freebsd,openbsd,netbsd,solaris,haiku }
uses
unixcp;

View File

@ -1,4 +1,4 @@
{ %target=linux }
{ %target=linux,haiku }
{ Source provided for Free Pascal Bug Report 3161 }
{ Submitted by "Michalis Kamburelis" on 2004-06-12 }

View File

@ -1,4 +1,4 @@
{ %target=linux,freebsd }
{ %target=linux,freebsd,haiku }
{ Source provided for Free Pascal Bug Report 3257 }
{ Submitted by "peter green" on 2004-08-18 }

View File

@ -1,6 +1,6 @@
{ %norun }
{ %needlibrary }
{ %target=linux }
{ %target=linux,haiku }
{$mode objfpc}
library tw3964a;

View File

@ -1,5 +1,5 @@
{ %needlibrary }
{ %target=linux }
{ %target=linux,haiku }
{$mode objfpc}
{$linklib tw3964a}

View File

@ -1,4 +1,4 @@
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android,haiku }
{ %needlibrary }
{ %norun }

View File

@ -1,4 +1,4 @@
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android,haiku }
{ %needlibrary }
{ %delfiles=tw6586a }

View File

@ -1,5 +1,5 @@
{ %cpu=i386 }
{ %target=win32,linux,freebsd }
{ %target=win32,linux,freebsd,haiku }
{$ifdef fpc}
{$mode delphi}

View File

@ -1,4 +1,4 @@
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android,haiku }
uses
SysUtils;

View File

@ -1,5 +1,5 @@
{ %cpu=i386 }
{ %target=go32v2,linux,freebsd,win32}
{ %target=go32v2,linux,freebsd,win32,haiku}
{ %opt=-Sew -vw }
{$mode delphi}

View File

@ -1,6 +1,6 @@
{ %norun }
{ %needlibrary }
{ %target=win32,win64,wince,linux,android}
{ %target=win32,win64,wince,linux,android,haiku}
library tw7838a;

View File

@ -1,4 +1,4 @@
{ %target=win32,win64,linux,android}
{ %target=win32,win64,linux,android,haiku}
{ %needlibrary }
{ %delfiles=tw7838a }

View File

@ -1,5 +1,5 @@
{ %cpu=i386 }
{ %target=win32,linux,freebsd }
{ %target=win32,linux,freebsd,haiku }
{$ifdef fpc}
{$mode delphi}

View File

@ -1,6 +1,6 @@
{ %norun }
{ %needlibrary }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android,haiku }
{$mode delphi}

View File

@ -1,5 +1,5 @@
{ %norun }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android,haiku }
{ %NEEDLIBRARY }
{$mode delphi}

View File

@ -1,4 +1,4 @@
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android,haiku }
{ %NEEDLIBRARY }
{$mode delphi}

View File

@ -1,4 +1,4 @@
{ %target=darwin,linux,freebsd,solaris,beos,aix,android}
{ %target=darwin,linux,freebsd,solaris,beos,aix,android,haiku}
{ %NEEDLIBRARY }
{ %delfiles=tw8730a tw8730b }

View File

@ -1,6 +1,6 @@
{ %norun }
{ %needlibrary }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android,haiku }
library tw9089a;

View File

@ -1,4 +1,4 @@
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android,haiku }
{ %norun }
{ %needlibrary }

View File

@ -1,4 +1,4 @@
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android,haiku }
{ %needlibrary }
{ %delfiles=tw9089a tw9089b }

View File

@ -1,4 +1,4 @@
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android }
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos,aix,android,haiku }
uses
SysUtils;