Files
dotnet-runtime/src/libraries/System.IO.FileSystem.DriveInfo/tests/System.IO.FileSystem.DriveInfo.Tests.csproj
T
Maxwe11 2d635dae1c Replace relative path to common tests with a variable
Replace relative path "..\..\Common\tests" with $(CommonTestPath) variable.


Commit migrated from https://github.com/dotnet/corefx/commit/56dbc6abc6dcde5874c99c67f379d788c8dd4420
2015-02-08 15:05:37 +02:00

59 lines
2.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<OutputType>Library</OutputType>
<RootNamespace>System.IO.FileSystem.DriveInfo.Tests</RootNamespace>
<AssemblyName>System.IO.FileSystem.DriveInfo.Tests</AssemblyName>
<ProjectGuid>{7D9E5F2F-5677-40FC-AD04-FA7D603E4806}</ProjectGuid>
<!--
Disable running tests for this project as many of them are failing randomly for
different reasons, including but not limited to requiring admin to set/reset drive
labels, doing exact total disk space comparisions while other disk IO on the system
may be changing it actively, and failing on subst drives, etc
There are various github issues covering some of these see:
https://github.com/dotnet/corefx/issues/514
https://github.com/dotnet/corefx/issues/528
https://github.com/dotnet/corefx/issues/549
https://github.com/dotnet/corefx/issues/564
https://github.com/dotnet/corefx/issues/592
-->
<RunTestsForProject>False</RunTestsForProject>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
</PropertyGroup>
<ItemGroup>
<Compile Include="CtorStrTests.cs" />
<Compile Include="GetAvailableFreeSpaceTests.cs" />
<Compile Include="GetDriveFormatTests.cs" />
<Compile Include="GetDrivesTests.cs" />
<Compile Include="GetDriveTypeTests.cs" />
<Compile Include="GetIsReadyTests.cs" />
<Compile Include="GetNameTests.cs" />
<Compile Include="GetRootDirectoryTests.cs" />
<Compile Include="GetTotalFreeSpaceTests.cs" />
<Compile Include="GetTotalSizeTests.cs" />
<Compile Include="GetVolumeLabelTests.cs" />
<Compile Include="SetVolumeLabelTests.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\src\System.IO.FileSystem.DriveInfo.csproj">
<Project>{29c14ad7-dc03-45dc-897d-8dacc762707e}</Project>
<Name>System.IO.FileSystem.DriveInfo</Name>
</ProjectReference>
<ProjectReference Include="$(CommonTestPath)\XunitTraitsDiscoverers\XunitTraitsDiscoverers.csproj">
<Project>{be8ed8c1-c314-4c4e-a929-64c9c8b3552a}</Project>
<Name>XunitTraitsDiscoverers</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
</Project>