mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 08:48:08 +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 }
|
||||
{ %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 }
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ %TARGET=linux,go32v2 }
|
||||
{ %TARGET=linux,go32v2,haiku }
|
||||
{ %CPU=i386 }
|
||||
{ %OPT= -Aas -Cg- }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ %TARGET=win32,linux,wince }
|
||||
{ %TARGET=win32,linux,wince,haiku }
|
||||
{ %needlibrary }
|
||||
{ %NORUN }
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ %version=1.1 }
|
||||
{ %TARGET=linux,freebsd,darwin,solaris,aix }
|
||||
{ %TARGET=linux,freebsd,darwin,solaris,aix,haiku }
|
||||
|
||||
{$linklib c}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ %norun }
|
||||
{ %target=linux }
|
||||
{ %target=linux,haiku }
|
||||
|
||||
program test;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ %target=linux }
|
||||
{ %target=linux,haiku }
|
||||
|
||||
program setup;
|
||||
|
||||
|
@ -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- }
|
||||
|
@ -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- }
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ %target=linux }
|
||||
{ %target=linux,haiku }
|
||||
{ %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 @@
|
||||
{ %norun }
|
||||
{ %opt=-Cg }
|
||||
{ %fail }
|
||||
{ %target=linux,freebsd,darwin }
|
||||
{ %target=linux,freebsd,darwin,haiku }
|
||||
|
||||
unit tw25788;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ %target=go32v2,linux,freebsd,darwin }
|
||||
{ %target=go32v2,linux,freebsd,darwin,haiku }
|
||||
{ %note=This test needs C libraries }
|
||||
{ %OPT=-pg }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ %target=linux}
|
||||
{ %target=linux,haiku}
|
||||
{ %result=216 }
|
||||
|
||||
program ExecStack;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ %target=linux }
|
||||
{ %target=linux,haiku }
|
||||
{ %needlibrary }
|
||||
{ %norun }
|
||||
library tw14958a;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ %target=linux }
|
||||
{ %target=linux,haiku }
|
||||
{ %needlibrary }
|
||||
{ %result=182 }
|
||||
program loadlib;
|
||||
|
@ -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 }
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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 }
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ %CPU=i386 }
|
||||
{ %TARGET=go32v2,win32,linux }
|
||||
{ %TARGET=go32v2,win32,linux,haiku }
|
||||
{ %NOTE=This test requires an installed Nasm }
|
||||
{ %OPT=-Cg- }
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ %opt=-Cg }
|
||||
{ %target=-linux,freebsd,darwin }
|
||||
{ %target=-linux,freebsd,darwin,haiku }
|
||||
{ %norun }
|
||||
{$mode objfpc}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ %target=darwin,linux,freebsd,openbsd,netbsd,solaris }
|
||||
{ %target=darwin,linux,freebsd,openbsd,netbsd,solaris,haiku }
|
||||
|
||||
uses
|
||||
unixcp;
|
||||
|
@ -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 }
|
||||
|
@ -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 }
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ %norun }
|
||||
{ %needlibrary }
|
||||
{ %target=linux }
|
||||
{ %target=linux,haiku }
|
||||
{$mode objfpc}
|
||||
library tw3964a;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ %needlibrary }
|
||||
{ %target=linux }
|
||||
{ %target=linux,haiku }
|
||||
{$mode objfpc}
|
||||
|
||||
{$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 }
|
||||
{ %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 }
|
||||
{ %delfiles=tw6586a }
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ %cpu=i386 }
|
||||
{ %target=win32,linux,freebsd }
|
||||
{ %target=win32,linux,freebsd,haiku }
|
||||
|
||||
{$ifdef fpc}
|
||||
{$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
|
||||
SysUtils;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ %cpu=i386 }
|
||||
{ %target=go32v2,linux,freebsd,win32}
|
||||
{ %target=go32v2,linux,freebsd,win32,haiku}
|
||||
{ %opt=-Sew -vw }
|
||||
|
||||
{$mode delphi}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ %norun }
|
||||
{ %needlibrary }
|
||||
{ %target=win32,win64,wince,linux,android}
|
||||
{ %target=win32,win64,wince,linux,android,haiku}
|
||||
|
||||
library tw7838a;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ %target=win32,win64,linux,android}
|
||||
{ %target=win32,win64,linux,android,haiku}
|
||||
{ %needlibrary }
|
||||
{ %delfiles=tw7838a }
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ %cpu=i386 }
|
||||
{ %target=win32,linux,freebsd }
|
||||
{ %target=win32,linux,freebsd,haiku }
|
||||
|
||||
{$ifdef fpc}
|
||||
{$mode delphi}
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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 }
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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 }
|
||||
|
||||
|
@ -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 }
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user