Skip to content

Commit

Permalink
Fixed dnx test issue for empty test list.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hovsep Mkrtchyan committed Apr 27, 2016
1 parent 1cdfd3f commit 20f0f4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
-->
<!-- Restoring everyting from the root folder wipes out Storage nuget references and adds Storage project reference to all projects. -->
<Exec Command="dnu restore $(_TemporaryDnxFeeds)" WorkingDirectory="%(Dnx_AutoRestLibraries.Library)" Condition=" @(Dnx_AutoRestLibraries) != '' "/>
<Exec Command="dnu restore $(_TemporaryDnxFeeds)" WorkingDirectory="%(Dnx_AutoRestLibraries.Test)" Condition=" @(Dnx_AutoRestLibraries) != '' and '$(Configuration)' != 'Release' "/>
<Exec Command="dnu restore $(_TemporaryDnxFeeds)" WorkingDirectory="%(Dnx_AutoRestLibraries.Test)" Condition=" @(Dnx_AutoRestLibraries) != '' and '%(Dnx_AutoRestLibraries.Test)' != '' and '$(Configuration)' != 'Release' "/>

<CallTarget Targets="BuildDnxLibraries" Condition=" @(Dnx_AutoRestLibraries) != '' " />
<CallTarget Targets="CodeSignBinaries" Condition=" '$(CodeSign)' == 'true' " />
Expand Down Expand Up @@ -177,7 +177,7 @@
<!--Based on https://github.com/xunit/xunit/issues/653, only xml is supported -->
<Exec Command="dnx test -xml &quot;$(MSBuildProjectDirectory)\TestResults\%(Dnx_AutoRestLibraries.Filename).xml&quot;"
WorkingDirectory="%(Dnx_AutoRestLibraries.Test)"
Condition=" @(Dnx_AutoRestLibraries) != '' "/>
Condition=" @(Dnx_AutoRestLibraries) != '' and '%(Dnx_AutoRestLibraries.Test)' != '' "/>
</Target>

<PropertyGroup>
Expand Down

0 comments on commit 20f0f4f

Please sign in to comment.