Introduces two headless FPCUnit runners under tests/ with 119 tests covering the shared stream, cache, and packet layers, the MUL file library, and the server config, region, account, and landscape bounds logic. Each runner uses its own object output directory so client and server PPUs with colliding unit names cannot pollute each other's builds. Drone now builds and runs both suites before packaging. Found on the way: two product defects fixed in the previous commits.
21 lines
247 B
ObjectPascal
21 lines
247 B
ObjectPascal
program unittestsserver;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
uses
|
|
simpletestrunner,
|
|
UTestRegions,
|
|
UTestAccount,
|
|
UTestConfig,
|
|
UTestLandscapeBounds;
|
|
|
|
begin
|
|
with TTestRunner.Create(nil) do
|
|
try
|
|
Initialize;
|
|
Run;
|
|
finally
|
|
Free;
|
|
end;
|
|
end.
|