2b134c91fe
(cherry picked from commit 13da213183
)
26 lines
No EOL
1 KiB
XML
26 lines
No EOL
1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTarget="RunTest" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<!-- workaround for https://github.com/Microsoft/msbuild/issues/885 -->
|
|
<!-- renaming the property because the original property is a global property and therefore
|
|
cannot be redefined at runtime. -->
|
|
<PropertyGroup>
|
|
<CLIBuildDllPath>$([MSBuild]::Unescape($(CLIBuildDll)))</CLIBuildDllPath>
|
|
</PropertyGroup>
|
|
|
|
<UsingTask TaskName="DotNetTest" AssemblyFile="$(CLIBuildDllPath)" />
|
|
|
|
<Target Name="RunTest">
|
|
<ItemGroup>
|
|
<EnvironmentVariables Include="TEST_ARTIFACTS=$(TestArtifactsDir)" />
|
|
<EnvironmentVariables Include="TEST_PACKAGES=$(TestPackagesDir)" />
|
|
</ItemGroup>
|
|
|
|
<DotNetTest EnvironmentVariables="@(EnvironmentVariables)"
|
|
ToolPath="$(ToolPath)"
|
|
Configuration="$(Configuration)"
|
|
NoBuild="True"
|
|
Logger="trx"
|
|
ProjectPath="$(TestProject)" />
|
|
</Target>
|
|
</Project> |