Lazutils, tests: correctly set unit output directory and executable filename for TestMasks project, also made it DPI aware

This commit is contained in:
Maxim Ganetsky 2021-11-04 00:53:21 +03:00
parent 2ce594217a
commit 095ca93f94
3 changed files with 12 additions and 0 deletions

View File

@ -15,6 +15,10 @@
<SessionStorage Value="InProjectDir"/> <SessionStorage Value="InProjectDir"/>
<Title Value="TestMasks"/> <Title Value="TestMasks"/>
<ResourceType Value="res"/> <ResourceType Value="res"/>
<UseXPManifest Value="True"/>
<XPManifest>
<DpiAware Value="True"/>
</XPManifest>
</General> </General>
<VersionInfo> <VersionInfo>
<Language Value=""/> <Language Value=""/>
@ -101,6 +105,12 @@
<CompilerOptions> <CompilerOptions>
<Version Value="11"/> <Version Value="11"/>
<PathDelim Value="\"/> <PathDelim Value="\"/>
<Target>
<Filename Value="testmasks"/>
</Target>
<SearchPaths>
<UnitOutputDirectory Value="units/$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
</CompilerOptions> </CompilerOptions>
<Debugging> <Debugging>
<Exceptions> <Exceptions>

View File

@ -328,6 +328,8 @@ begin
TestMaskWindows('', '[a]', False); TestMaskWindows('', '[a]', False);
end; end;
{$R *.res}
begin begin
RegisterTest(TTestMask); RegisterTest(TTestMask);

Binary file not shown.