UnitTest: Sync intermediate and output folders with sibling projects

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2025-03-28 13:33:18 +01:00
parent 875b0581f7
commit ca9245770b
3 changed files with 4 additions and 10 deletions

View File

@ -1,10 +1,3 @@
/.tmp
/.vs /.vs
/*.user /*.user
/UnitTests/Debug
/UnitTests/Release
/UnitTests/x64/Debug
/UnitTests/x64/Release
/x64/Debug
/x64/Release
/x86/Debug
/x86/Release

View File

@ -64,7 +64,8 @@
</ImportGroup> </ImportGroup>
<PropertyGroup Label="UserMacros" /> <PropertyGroup Label="UserMacros" />
<PropertyGroup> <PropertyGroup>
<OutDir>$(SolutionDir)\$(PlatformTarget)\$(Configuration)\</OutDir> <OutDir>$(SolutionDir).tmp\$(ShortProjectName)\$(PlatformTarget)\$(Configuration)\</OutDir>
<IntDir>$(SolutionDir).tmp\$(ShortProjectName)\$(PlatformTarget)\$(Configuration)\</IntDir>
<RunCodeAnalysis>true</RunCodeAnalysis> <RunCodeAnalysis>true</RunCodeAnalysis>
<CodeAnalysisRuleSet>NativeRecommendedRules.ruleset</CodeAnalysisRuleSet> <CodeAnalysisRuleSet>NativeRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup> </PropertyGroup>

View File

@ -13,4 +13,4 @@ build:
parallel: true parallel: true
verbosity: minimal verbosity: minimal
test_script: test_script:
- cmd: vstest.console /logger:Appveyor UnitTests\%platform%\%configuration%\UnitTests.dll - cmd: vstest.console /logger:Appveyor UnitTests\.tmp\UnitTests\%platform%\%configuration%\UnitTests.dll