git-svn-id: trunk@34312 -
@@ -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 }
@@ -1,4 +1,4 @@
-{ %TARGET=go32v2,linux }
+{ %TARGET=go32v2,linux,haiku }
{ %SKIPEMU=qemu-arm }
{ Old file: tbs0105.pp }
-{ %TARGET=linux,go32v2 }
+{ %TARGET=linux,go32v2,haiku }
{ %OPT= -Aas -Cg- }
-{ %TARGET=win32,linux,wince }
+{ %TARGET=win32,linux,wince,haiku }
{ %needlibrary }
{ %NORUN }
{ %version=1.1 }
-{ %TARGET=linux,freebsd,darwin,solaris,aix }
+{ %TARGET=linux,freebsd,darwin,solaris,aix,haiku }
{$linklib c}
-{%TARGET=linux,freebsd,darwin,aix,openbsd,netbsd}
+{%TARGET=linux,freebsd,darwin,aix,openbsd,netbsd,haiku}
program tb0524;
uses sockets,baseunix,sysutils;
{ %norun }
-{ %target=linux }
+{ %target=linux,haiku }
program test;
program setup;
-{ %target=darwin,linux,freebsd,solaris,aix }
+{ %target=darwin,linux,freebsd,solaris,aix,haiku }
{ %wpoparas=devirtcalls,optvmts,symbolliveness }
{ %wpopasses=2 }
{ %opt=-CX -XX -Xs- -g- }
{ %opt=-Xt }
program phello;
@@ -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)
@@ -1,7 +1,7 @@
{ %opt=-Cg }
{ %fail }
-{ %target=linux,freebsd,darwin }
+{ %target=linux,freebsd,darwin,haiku }
unit tw25788;
-{ %target=go32v2,linux,freebsd,darwin }
+{ %target=go32v2,linux,freebsd,darwin,haiku }
{ %note=This test needs C libraries }
{ %OPT=-pg }
-{ %target=linux}
+{ %target=linux,haiku}
{ %result=216 }
program ExecStack;
library tw14958a;
{ %result=182 }
program loadlib;
{ %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 }
@@ -1,6 +1,6 @@
-{ %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;
{ %delfiles=tw16949a }
{ %OPT=-Cg- }
-{ %target=-linux,freebsd,darwin }
+{ %target=-linux,freebsd,darwin,haiku }
-{ %target=darwin,linux,freebsd,openbsd,netbsd,solaris }
+{ %target=darwin,linux,freebsd,openbsd,netbsd,solaris,haiku }
uses
unixcp;
{ Source provided for Free Pascal Bug Report 3161 }
{ Submitted by "Michalis Kamburelis" on 2004-06-12 }
-{ %target=linux,freebsd }
+{ %target=linux,freebsd,haiku }
{ Source provided for Free Pascal Bug Report 3257 }
{ Submitted by "peter green" on 2004-08-18 }
library tw3964a;
{$linklib tw3964a}
{ %delfiles=tw6586a }
{ %cpu=i386 }
-{ %target=win32,linux,freebsd }
+{ %target=win32,linux,freebsd,haiku }
{$ifdef fpc}
{$mode delphi}
SysUtils;
-{ %target=go32v2,linux,freebsd,win32}
+{ %target=go32v2,linux,freebsd,win32,haiku}
{ %opt=-Sew -vw }
-{ %target=win32,win64,wince,linux,android}
+{ %target=win32,win64,wince,linux,android,haiku}
library tw7838a;
-{ %target=win32,win64,linux,android}
+{ %target=win32,win64,linux,android,haiku}
{ %delfiles=tw7838a }
{ %NEEDLIBRARY }
-{ %target=darwin,linux,freebsd,solaris,beos,aix,android}
+{ %target=darwin,linux,freebsd,solaris,beos,aix,android,haiku}
{ %delfiles=tw8730a tw8730b }
library tw9089a;
{ %delfiles=tw9089a tw9089b }