testpassrc.lpr 700 B

1234567891011121314151617181920212223242526272829303132
  1. program testpassrc;
  2. {$mode objfpc}{$H+}
  3. uses
  4. //MemCheck,
  5. Classes, consoletestrunner, tcscanner, tctypeparser, tcstatements,
  6. tcbaseparser, tcmoduleparser, tconstparser, tcvarparser, tcclasstype,
  7. tcexprparser, tcprocfunc, tcpassrcutil, TCGenerics,
  8. TCResolver, TCResolveGenerics, TCResolveMultiErrors,
  9. TCUseAnalyzer;
  10. type
  11. { TLazTestRunner }
  12. TMyTestRunner = class(TTestRunner)
  13. protected
  14. // override the protected methods of TTestRunner to customize its behavior
  15. end;
  16. var
  17. Application: TMyTestRunner;
  18. begin
  19. Application := TMyTestRunner.Create(nil);
  20. DefaultFormat:=fplain;
  21. DefaultRunAllTests:=True;
  22. Application.Initialize;
  23. Application.Run;
  24. Application.Free;
  25. end.