mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 02:49:28 +02:00
* enable 40+ tests for Haiku as per mantis #30470
git-svn-id: trunk@34312 -
This commit is contained in:
parent
e2652d8a56
commit
690f784c4d
@ -1,5 +1,5 @@
|
|||||||
{ %CPU=i386 }
|
{ %CPU=i386 }
|
||||||
{ %TARGET=go32v2,win32,linux }
|
{ %TARGET=go32v2,win32,linux,haiku }
|
||||||
{ %NOTE=This test requires an installed Nasm }
|
{ %NOTE=This test requires an installed Nasm }
|
||||||
|
|
||||||
{ Old file: tbs0043.pp }
|
{ Old file: tbs0043.pp }
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %TARGET=go32v2,linux }
|
{ %TARGET=go32v2,linux,haiku }
|
||||||
{ %SKIPEMU=qemu-arm }
|
{ %SKIPEMU=qemu-arm }
|
||||||
|
|
||||||
{ Old file: tbs0105.pp }
|
{ Old file: tbs0105.pp }
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %TARGET=linux,go32v2 }
|
{ %TARGET=linux,go32v2,haiku }
|
||||||
{ %CPU=i386 }
|
{ %CPU=i386 }
|
||||||
{ %OPT= -Aas -Cg- }
|
{ %OPT= -Aas -Cg- }
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %TARGET=win32,linux,wince }
|
{ %TARGET=win32,linux,wince,haiku }
|
||||||
{ %needlibrary }
|
{ %needlibrary }
|
||||||
{ %NORUN }
|
{ %NORUN }
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ %version=1.1 }
|
{ %version=1.1 }
|
||||||
{ %TARGET=linux,freebsd,darwin,solaris,aix }
|
{ %TARGET=linux,freebsd,darwin,solaris,aix,haiku }
|
||||||
|
|
||||||
{$linklib c}
|
{$linklib c}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{%TARGET=linux,freebsd,darwin,aix,openbsd,netbsd}
|
{%TARGET=linux,freebsd,darwin,aix,openbsd,netbsd,haiku}
|
||||||
program tb0524;
|
program tb0524;
|
||||||
|
|
||||||
uses sockets,baseunix,sysutils;
|
uses sockets,baseunix,sysutils;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ %norun }
|
{ %norun }
|
||||||
{ %target=linux }
|
{ %target=linux,haiku }
|
||||||
|
|
||||||
program test;
|
program test;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %target=linux }
|
{ %target=linux,haiku }
|
||||||
|
|
||||||
program setup;
|
program setup;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %target=darwin,linux,freebsd,solaris,aix }
|
{ %target=darwin,linux,freebsd,solaris,aix,haiku }
|
||||||
{ %wpoparas=devirtcalls,optvmts,symbolliveness }
|
{ %wpoparas=devirtcalls,optvmts,symbolliveness }
|
||||||
{ %wpopasses=2 }
|
{ %wpopasses=2 }
|
||||||
{ %opt=-CX -XX -Xs- -g- }
|
{ %opt=-CX -XX -Xs- -g- }
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %target=darwin,linux,freebsd,solaris,aix }
|
{ %target=darwin,linux,freebsd,solaris,aix,haiku }
|
||||||
{ %wpoparas=devirtcalls,optvmts,symbolliveness }
|
{ %wpoparas=devirtcalls,optvmts,symbolliveness }
|
||||||
{ %wpopasses=2 }
|
{ %wpopasses=2 }
|
||||||
{ %opt=-CX -XX -Xs- -g- }
|
{ %opt=-CX -XX -Xs- -g- }
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %target=linux }
|
{ %target=linux,haiku }
|
||||||
{ %opt=-Xt }
|
{ %opt=-Xt }
|
||||||
|
|
||||||
program phello;
|
program phello;
|
||||||
|
@ -1,12 +1,17 @@
|
|||||||
{ %target=linux,freebsd,darwin,solaris,aix,android }
|
{ %target=linux,freebsd,darwin,solaris,aix,android,haiku }
|
||||||
|
|
||||||
{$mode objfpc}
|
{$mode objfpc}
|
||||||
program testr;
|
program testr;
|
||||||
|
|
||||||
uses sysutils;
|
uses sysutils;
|
||||||
function sprintf(buf,fmt : pchar) : longint; varargs;cdecl; external 'c';
|
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 cosh(f : double) : double; cdecl; external 'm';
|
||||||
function ccos(f : double) : double; cdecl; external 'm' name 'cos';
|
function ccos(f : double) : double; cdecl; external 'm' name 'cos';
|
||||||
|
{$endif}
|
||||||
|
|
||||||
Type
|
Type
|
||||||
TTest = Class(TObject)
|
TTest = Class(TObject)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ %norun }
|
{ %norun }
|
||||||
{ %opt=-Cg }
|
{ %opt=-Cg }
|
||||||
{ %fail }
|
{ %fail }
|
||||||
{ %target=linux,freebsd,darwin }
|
{ %target=linux,freebsd,darwin,haiku }
|
||||||
|
|
||||||
unit tw25788;
|
unit tw25788;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %target=go32v2,linux,freebsd,darwin }
|
{ %target=go32v2,linux,freebsd,darwin,haiku }
|
||||||
{ %note=This test needs C libraries }
|
{ %note=This test needs C libraries }
|
||||||
{ %OPT=-pg }
|
{ %OPT=-pg }
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %target=linux}
|
{ %target=linux,haiku}
|
||||||
{ %result=216 }
|
{ %result=216 }
|
||||||
|
|
||||||
program ExecStack;
|
program ExecStack;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %target=linux }
|
{ %target=linux,haiku }
|
||||||
{ %needlibrary }
|
{ %needlibrary }
|
||||||
{ %norun }
|
{ %norun }
|
||||||
library tw14958a;
|
library tw14958a;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %target=linux }
|
{ %target=linux,haiku }
|
||||||
{ %needlibrary }
|
{ %needlibrary }
|
||||||
{ %result=182 }
|
{ %result=182 }
|
||||||
program loadlib;
|
program loadlib;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ %cpu=x86_64,i386,powerpc,powerpc64}
|
{ %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 }
|
{ should actually only skip i386-variants of win32/linux/.. for now, but that can't be specified }
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ %norun }
|
{ %norun }
|
||||||
{ %needlibrary }
|
{ %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;
|
library tw16949a;
|
||||||
|
|
||||||
|
@ -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 }
|
{ %needlibrary }
|
||||||
{ %delfiles=tw16949a }
|
{ %delfiles=tw16949a }
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ %CPU=i386 }
|
{ %CPU=i386 }
|
||||||
{ %TARGET=go32v2,win32,linux }
|
{ %TARGET=go32v2,win32,linux,haiku }
|
||||||
{ %NOTE=This test requires an installed Nasm }
|
{ %NOTE=This test requires an installed Nasm }
|
||||||
{ %OPT=-Cg- }
|
{ %OPT=-Cg- }
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ %opt=-Cg }
|
{ %opt=-Cg }
|
||||||
{ %target=-linux,freebsd,darwin }
|
{ %target=-linux,freebsd,darwin,haiku }
|
||||||
{ %norun }
|
{ %norun }
|
||||||
{$mode objfpc}
|
{$mode objfpc}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %target=darwin,linux,freebsd,openbsd,netbsd,solaris }
|
{ %target=darwin,linux,freebsd,openbsd,netbsd,solaris,haiku }
|
||||||
|
|
||||||
uses
|
uses
|
||||||
unixcp;
|
unixcp;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %target=linux }
|
{ %target=linux,haiku }
|
||||||
|
|
||||||
{ Source provided for Free Pascal Bug Report 3161 }
|
{ Source provided for Free Pascal Bug Report 3161 }
|
||||||
{ Submitted by "Michalis Kamburelis" on 2004-06-12 }
|
{ Submitted by "Michalis Kamburelis" on 2004-06-12 }
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %target=linux,freebsd }
|
{ %target=linux,freebsd,haiku }
|
||||||
|
|
||||||
{ Source provided for Free Pascal Bug Report 3257 }
|
{ Source provided for Free Pascal Bug Report 3257 }
|
||||||
{ Submitted by "peter green" on 2004-08-18 }
|
{ Submitted by "peter green" on 2004-08-18 }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ %norun }
|
{ %norun }
|
||||||
{ %needlibrary }
|
{ %needlibrary }
|
||||||
{ %target=linux }
|
{ %target=linux,haiku }
|
||||||
{$mode objfpc}
|
{$mode objfpc}
|
||||||
library tw3964a;
|
library tw3964a;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ %needlibrary }
|
{ %needlibrary }
|
||||||
{ %target=linux }
|
{ %target=linux,haiku }
|
||||||
{$mode objfpc}
|
{$mode objfpc}
|
||||||
|
|
||||||
{$linklib tw3964a}
|
{$linklib tw3964a}
|
||||||
|
@ -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 }
|
{ %needlibrary }
|
||||||
{ %norun }
|
{ %norun }
|
||||||
|
|
||||||
|
@ -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 }
|
{ %needlibrary }
|
||||||
{ %delfiles=tw6586a }
|
{ %delfiles=tw6586a }
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ %cpu=i386 }
|
{ %cpu=i386 }
|
||||||
{ %target=win32,linux,freebsd }
|
{ %target=win32,linux,freebsd,haiku }
|
||||||
|
|
||||||
{$ifdef fpc}
|
{$ifdef fpc}
|
||||||
{$mode delphi}
|
{$mode delphi}
|
||||||
|
@ -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
|
uses
|
||||||
SysUtils;
|
SysUtils;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ %cpu=i386 }
|
{ %cpu=i386 }
|
||||||
{ %target=go32v2,linux,freebsd,win32}
|
{ %target=go32v2,linux,freebsd,win32,haiku}
|
||||||
{ %opt=-Sew -vw }
|
{ %opt=-Sew -vw }
|
||||||
|
|
||||||
{$mode delphi}
|
{$mode delphi}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ %norun }
|
{ %norun }
|
||||||
{ %needlibrary }
|
{ %needlibrary }
|
||||||
{ %target=win32,win64,wince,linux,android}
|
{ %target=win32,win64,wince,linux,android,haiku}
|
||||||
|
|
||||||
library tw7838a;
|
library tw7838a;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %target=win32,win64,linux,android}
|
{ %target=win32,win64,linux,android,haiku}
|
||||||
{ %needlibrary }
|
{ %needlibrary }
|
||||||
{ %delfiles=tw7838a }
|
{ %delfiles=tw7838a }
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ %cpu=i386 }
|
{ %cpu=i386 }
|
||||||
{ %target=win32,linux,freebsd }
|
{ %target=win32,linux,freebsd,haiku }
|
||||||
|
|
||||||
{$ifdef fpc}
|
{$ifdef fpc}
|
||||||
{$mode delphi}
|
{$mode delphi}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ %norun }
|
{ %norun }
|
||||||
{ %needlibrary }
|
{ %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}
|
{$mode delphi}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ %norun }
|
{ %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 }
|
{ %NEEDLIBRARY }
|
||||||
|
|
||||||
{$mode delphi}
|
{$mode delphi}
|
||||||
|
@ -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 }
|
{ %NEEDLIBRARY }
|
||||||
|
|
||||||
{$mode delphi}
|
{$mode delphi}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ %target=darwin,linux,freebsd,solaris,beos,aix,android}
|
{ %target=darwin,linux,freebsd,solaris,beos,aix,android,haiku}
|
||||||
{ %NEEDLIBRARY }
|
{ %NEEDLIBRARY }
|
||||||
{ %delfiles=tw8730a tw8730b }
|
{ %delfiles=tw8730a tw8730b }
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ %norun }
|
{ %norun }
|
||||||
{ %needlibrary }
|
{ %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;
|
library tw9089a;
|
||||||
|
|
||||||
|
@ -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 }
|
{ %norun }
|
||||||
{ %needlibrary }
|
{ %needlibrary }
|
||||||
|
|
||||||
|
@ -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 }
|
{ %needlibrary }
|
||||||
{ %delfiles=tw9089a tw9089b }
|
{ %delfiles=tw9089a tw9089b }
|
||||||
|
|
||||||
|
@ -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
|
uses
|
||||||
SysUtils;
|
SysUtils;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user