testrunner.rtlobjpas.pp 527 B

1234567891011121314151617181920212223242526
  1. { %CONFIGFILE=fpcunit-console-defaults.ini testdefaults.ini }
  2. { %SKIPTARGET=embedded,nativent,msdos,win16,macos,palmos }
  3. program testrunner.rtlobjpas;
  4. {$mode objfpc}{$H+}
  5. { Invoke needs a function call manager }
  6. {.$define testinvoke}
  7. uses
  8. consoletestrunner,
  9. {$ifdef testinvoke}
  10. tests.rtti.invoke,
  11. {$endif}
  12. tests.rtti;
  13. var
  14. Application: TTestRunner;
  15. begin
  16. Application := TTestRunner.Create(nil);
  17. Application.Initialize;
  18. Application.Title := 'RTL-ObjPas unit tests';
  19. Application.Run;
  20. Application.Free;
  21. end.