Permalink
Browse files

Execute AcceptanceTests directly in build.

  • Loading branch information...
1 parent 8f783c7 commit 5eba5ffb89d08e502197de8932d0ea385f217977 @jgoz jgoz committed Nov 11, 2012
Showing with 1 addition and 17 deletions.
  1. +1 −17 src/build.proj
View
@@ -17,7 +17,6 @@
</PropertyGroup>
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" />
- <Import Project="$(SolutionDir)\CustomTasks.targets" />
<PropertyGroup>
<DebugType Condition="'$(Configuration)' == 'Debug'">full</DebugType>
@@ -78,22 +77,7 @@
</Target>
<Target Name="Test" DependsOnTargets="Compile">
- <FindLastDirectory Path="$(NugetPackageDir)" Pattern="Machine.Specifications.*" Condition=" '$(OperatingPlatform)' == 'Windows' ">
- <Output TaskParameter="Dir" PropertyName="MSpecDir" />
- </FindLastDirectory>
-
- <ItemGroup Condition="'$(OperatingPlatform)' == 'Windows'">
- <TestAssembly Condition="'$(Platform)' != 'Any CPU'" Include="$(SolutionDir)\**\bin\$(Platform)\$(Configuration)\*Tests.dll" />
- <TestAssembly Condition="'$(Platform)' == 'Any CPU'" Include="$(SolutionDir)\**\bin\$(Configuration)\*Tests.dll" />
- </ItemGroup>
-
- <PropertyGroup Condition="'$(OperatingPlatform)' == 'Windows'">
- <MSpecExe Condition="'$(MSpecExe)' == '' and '$(Platform)' == 'x64'">$(MSpecDir)\tools\mspec-clr4.exe</MSpecExe>
- <MSpecExe Condition="'$(MSpecExe)' == '' and '$(Platform)' == 'x86'">$(MSpecDir)\tools\mspec-x86-clr4.exe</MSpecExe>
- </PropertyGroup>
-
- <Exec Condition="'$(OperatingPlatform)' == 'Windows'" Command="$(MSpecExe) $(MSpecOptions) %(TestAssembly.Identity)" />
- <!--<Exec Condition="'$(OperatingPlatform)' == 'Unix'" Command="$(MSpecExe) $(MSpecOptions) %(TestAssembly.Identity)" />-->
+ <Exec Command="$(SolutionDir)\ZeroMQ.AcceptanceTests\bin\$(Platform)\$(Configuration)\ZeroMQ.AcceptanceTests.exe" LogStandardErrorAsError="true" ContinueOnError="false" />
</Target>
<Target Name="Build" DependsOnTargets="Test">

0 comments on commit 5eba5ff

Please sign in to comment.