Skip to content
This repository has been archived by the owner on Mar 20, 2019. It is now read-only.

Commit

Permalink
Optimized the BuildTests target.
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Jan 8, 2010
1 parent e308900 commit 55e1ef5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.proj
Expand Up @@ -60,7 +60,7 @@
</Target>

<Target Name="BuildTests" DependsOnTargets="SkipVerification">
<MSBuild Projects="$(ProjectRoot)src\$(ProductName).Test\$(ProductName).Test.csproj" />
<MSBuild Projects="$(SolutionPath)" Targets="DotNetOpenAuth_Test;DotNetOpenAuth_TestWeb" />
</Target>

<Target Name="BuildSamples" DependsOnTargets="SkipVerification">
Expand Down Expand Up @@ -301,9 +301,7 @@
<Target Name="Documentation" DependsOnTargets="BuildProduct;Chm" Condition="'$(NoDocumentation)' != 'true'">
</Target>

<!-- Test depends on "Build" rather than "BuildTests" until we can figure out how to build the
no-.csproj file test project (to copy binaries to Bin directory). -->
<Target Name="Test" DependsOnTargets="Build"
<Target Name="Test" DependsOnTargets="BuildTests"
Inputs="$(OutputPath)$(ProductName).Test.dll"
Outputs='$(OutputPath)Test-results.xml;$(OutputPath)Test-output-results.log'>
<Exec Command='"mstest.exe" /testcontainer:"$(OutputPath)$(ProductName).Test.dll"' />
Expand Down

0 comments on commit 55e1ef5

Please sign in to comment.