fpc/packages/rtl-objpas/tests/testrunner.rtlobjpas.pp
2018-03-28 14:27:25 +00:00

27 lines
527 B
ObjectPascal

{ %CONFIGFILE=fpcunit-console-defaults.ini testdefaults.ini }
{ %SKIPTARGET=embedded,nativent,msdos,win16,macos,palmos }
program testrunner.rtlobjpas;
{$mode objfpc}{$H+}
{ Invoke needs a function call manager }
{.$define testinvoke}
uses
consoletestrunner,
{$ifdef testinvoke}
tests.rtti.invoke,
{$endif}
tests.rtti;
var
Application: TTestRunner;
begin
Application := TTestRunner.Create(nil);
Application.Initialize;
Application.Title := 'RTL-ObjPas unit tests';
Application.Run;
Application.Free;
end.