diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-11-15 14:17:27 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-11-17 19:06:00 -0600 |
| commit | d6aceb1277606fe1f1688d40ee0895d0b89c6705 (patch) | |
| tree | d4b9949346a6353ca49da0b4074ec355ab293380 /src/test | |
| parent | 6e4b639a3e1e6cf2f0dfdc78f6114e8e9b3b455b (diff) | |
| download | wix-d6aceb1277606fe1f1688d40ee0895d0b89c6705.tar.gz wix-d6aceb1277606fe1f1688d40ee0895d0b89c6705.tar.bz2 wix-d6aceb1277606fe1f1688d40ee0895d0b89c6705.zip | |
Run unit tests in the build script.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/BurnUnitTest/BurnUnitTest.vcxproj | 16 | ||||
| -rw-r--r-- | src/test/BurnUnitTest/packages.config | 7 |
2 files changed, 12 insertions, 11 deletions
diff --git a/src/test/BurnUnitTest/BurnUnitTest.vcxproj b/src/test/BurnUnitTest/BurnUnitTest.vcxproj index cc19fa60..dde01be1 100644 --- a/src/test/BurnUnitTest/BurnUnitTest.vcxproj +++ b/src/test/BurnUnitTest/BurnUnitTest.vcxproj | |||
| @@ -3,8 +3,8 @@ | |||
| 3 | 3 | ||
| 4 | 4 | ||
| 5 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 5 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 6 | <Import Project="..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.props" Condition="Exists('..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.props')" /> | 6 | <Import Project="..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.47\build\WixBuildTools.TestSupport.Native.props" Condition="Exists('..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.47\build\WixBuildTools.TestSupport.Native.props')" /> |
| 7 | <Import Project="..\..\..\packages\WixToolset.DUtil.4.0.55\build\WixToolset.DUtil.props" Condition="Exists('..\..\..\packages\WixToolset.DUtil.4.0.55\build\WixToolset.DUtil.props')" /> | 7 | <Import Project="..\..\..\packages\WixToolset.DUtil.4.0.56\build\WixToolset.DUtil.props" Condition="Exists('..\..\..\packages\WixToolset.DUtil.4.0.56\build\WixToolset.DUtil.props')" /> |
| 8 | <ItemGroup Label="ProjectConfigurations"> | 8 | <ItemGroup Label="ProjectConfigurations"> |
| 9 | <ProjectConfiguration Include="Debug|Win32"> | 9 | <ProjectConfiguration Include="Debug|Win32"> |
| 10 | <Configuration>Debug</Configuration> | 10 | <Configuration>Debug</Configuration> |
| @@ -63,23 +63,23 @@ | |||
| 63 | <Reference Include="System" /> | 63 | <Reference Include="System" /> |
| 64 | <Reference Include="System.Core" /> | 64 | <Reference Include="System.Core" /> |
| 65 | <Reference Include="WixBuildTools.TestSupport"> | 65 | <Reference Include="WixBuildTools.TestSupport"> |
| 66 | <HintPath>..\..\..\packages\WixBuildTools.TestSupport.4.0.40\lib\net472\WixBuildTools.TestSupport.dll</HintPath> | 66 | <HintPath>..\..\..\packages\WixBuildTools.TestSupport.4.0.47\lib\net472\WixBuildTools.TestSupport.dll</HintPath> |
| 67 | </Reference> | 67 | </Reference> |
| 68 | <Reference Include="WixBuildTools.TestSupport.Native"> | 68 | <Reference Include="WixBuildTools.TestSupport.Native"> |
| 69 | <HintPath>..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\lib\net472\WixBuildTools.TestSupport.Native.dll</HintPath> | 69 | <HintPath>..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.47\lib\net472\WixBuildTools.TestSupport.Native.dll</HintPath> |
| 70 | </Reference> | 70 | </Reference> |
| 71 | </ItemGroup> | 71 | </ItemGroup> |
| 72 | <ItemGroup> | 72 | <ItemGroup> |
| 73 | <ProjectReference Include="..\..\engine\engine.vcxproj" /> | 73 | <ProjectReference Include="..\..\engine\engine.vcxproj" /> |
| 74 | </ItemGroup> | 74 | </ItemGroup> |
| 75 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 75 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 76 | <Import Project="..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.targets" Condition="Exists('..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.targets')" /> | 76 | <Import Project="..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.47\build\WixBuildTools.TestSupport.Native.targets" Condition="Exists('..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.47\build\WixBuildTools.TestSupport.Native.targets')" /> |
| 77 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | 77 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 78 | <PropertyGroup> | 78 | <PropertyGroup> |
| 79 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | 79 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
| 80 | </PropertyGroup> | 80 | </PropertyGroup> |
| 81 | <Error Condition="!Exists('..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.props'))" /> | 81 | <Error Condition="!Exists('..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.47\build\WixBuildTools.TestSupport.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.47\build\WixBuildTools.TestSupport.Native.props'))" /> |
| 82 | <Error Condition="!Exists('..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.targets'))" /> | 82 | <Error Condition="!Exists('..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.47\build\WixBuildTools.TestSupport.Native.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.47\build\WixBuildTools.TestSupport.Native.targets'))" /> |
| 83 | <Error Condition="!Exists('..\..\..\packages\WixToolset.DUtil.4.0.55\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\WixToolset.DUtil.4.0.55\build\WixToolset.DUtil.props'))" /> | 83 | <Error Condition="!Exists('..\..\..\packages\WixToolset.DUtil.4.0.56\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\WixToolset.DUtil.4.0.56\build\WixToolset.DUtil.props'))" /> |
| 84 | </Target> | 84 | </Target> |
| 85 | </Project> | 85 | </Project> |
diff --git a/src/test/BurnUnitTest/packages.config b/src/test/BurnUnitTest/packages.config index 74f2523f..472349e7 100644 --- a/src/test/BurnUnitTest/packages.config +++ b/src/test/BurnUnitTest/packages.config | |||
| @@ -6,8 +6,9 @@ | |||
| 6 | <package id="xunit.core" version="2.4.1" /> | 6 | <package id="xunit.core" version="2.4.1" /> |
| 7 | <package id="xunit.extensibility.core" version="2.4.1" /> | 7 | <package id="xunit.extensibility.core" version="2.4.1" /> |
| 8 | <package id="xunit.extensibility.execution" version="2.4.1" /> | 8 | <package id="xunit.extensibility.execution" version="2.4.1" /> |
| 9 | <package id="xunit.runner.msbuild" version="2.4.1" /> | ||
| 9 | <package id="xunit.runner.visualstudio" version="2.4.1" /> | 10 | <package id="xunit.runner.visualstudio" version="2.4.1" /> |
| 10 | <package id="WixBuildTools.TestSupport" version="4.0.40" /> | 11 | <package id="WixBuildTools.TestSupport" version="4.0.47" /> |
| 11 | <package id="WixBuildTools.TestSupport.Native" version="4.0.40" /> | 12 | <package id="WixBuildTools.TestSupport.Native" version="4.0.47" /> |
| 12 | <package id="WixToolset.DUtil" version="4.0.55" targetFramework="native" /> | 13 | <package id="WixToolset.DUtil" version="4.0.56" targetFramework="native" /> |
| 13 | </packages> \ No newline at end of file | 14 | </packages> \ No newline at end of file |
