You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 rivejä
427 B

  1. program UtilsTests;
  2. {$mode objfpc}{$H+}
  3. uses
  4. sysutils, Interfaces, Forms, GuiTestRunner, uGenericsTests;
  5. {$R *.res}
  6. var
  7. heaptrcFile: String;
  8. begin
  9. heaptrcFile := ChangeFileExt(Application.ExeName, '.heaptrc');
  10. if (FileExists(heaptrcFile)) then
  11. DeleteFile(heaptrcFile);
  12. SetHeapTraceOutput(heaptrcFile);
  13. Application.Initialize;
  14. Application.CreateForm(TGuiTestRunner, TestRunner);
  15. Application.Run;
  16. end.