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

Commit

Permalink
Added .NET 4.0 tests to NightlyBuild target.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkowalski committed Jul 15, 2011
1 parent a9a35e2 commit 14f99df
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/NLog.proj
Expand Up @@ -203,7 +203,7 @@
<CommonProperties>BuildLabel=$(BuildLabel);BuildVersion=$(BuildVersion)</CommonProperties> <CommonProperties>BuildLabel=$(BuildLabel);BuildVersion=$(BuildVersion)</CommonProperties>
</PropertyGroup> </PropertyGroup>
<MSBuild Projects="$(MSBuildProjectFile)" Targets="DeepClean;Clean;Build;DumpApi;XSD;Documentation;Archive;Installer;NuGetPackage;BuildTests;Web" Properties="Configuration=Release;$(CommonProperties)" /> <MSBuild Projects="$(MSBuildProjectFile)" Targets="DeepClean;Clean;Build;DumpApi;XSD;Documentation;Archive;Installer;NuGetPackage;BuildTests;Web" Properties="Configuration=Release;$(CommonProperties)" />
<MSBuild Projects="$(MSBuildProjectFile)" Targets="Clean;Build;DumpApi;XSD;Documentation;Archive;Installer;NuGetPackage;BuildTests" Properties="Configuration=Debug;$(CommonProperties)" /> <MSBuild Projects="$(MSBuildProjectFile)" Targets="Clean;Build;DumpApi;XSD;Documentation;Archive;Installer;NuGetPackage;BuildTests;RunNightlyTests" Properties="Configuration=Debug;$(CommonProperties)" />
<CallTarget Targets="SourceArchive" /> <CallTarget Targets="SourceArchive" />
</Target> </Target>


Expand Down Expand Up @@ -320,6 +320,16 @@
<Exec Command="$(BaseOutputDirectory)\bin\DeleteTestUsers.cmd" IgnoreExitCode="true" /> <Exec Command="$(BaseOutputDirectory)\bin\DeleteTestUsers.cmd" IgnoreExitCode="true" />
</Target> </Target>


<Target Name="RunNightlyTests">
<Exec Command="$(BaseOutputDirectory)\bin\CreateTestUsers.cmd" IgnoreExitCode="true" />
<CallTarget Targets="DeleteTrxFiles" />
<Exec Command='NLogC.UnitTests.exe' WorkingDirectory="$(BaseOutputDirectory)\bin\$(Configuration)\.NET Framework 4.0\NLogC\x86" />
<Exec Command='"$(MSTest10)" /nologo /testcontainer:NLog.UnitTests.dll /resultsfile:TestResults.trx'
WorkingDirectory="$(BaseOutputDirectory)\bin\$(Configuration)\.NET Framework 4.0"
Condition="Exists('$(MSTest10)')" />
<Exec Command="$(BaseOutputDirectory)\bin\DeleteTestUsers.cmd" IgnoreExitCode="true" />
</Target>

<Target Name="RunComApiTests"> <Target Name="RunComApiTests">
<Exec Command="NLog.ComInteropTest.cmd" <Exec Command="NLog.ComInteropTest.cmd"
WorkingDirectory="$(BaseOutputDirectory)\bin\$(Configuration)\%(TargetFramework.Identity)" WorkingDirectory="$(BaseOutputDirectory)\bin\$(Configuration)\%(TargetFramework.Identity)"
Expand Down

0 comments on commit 14f99df

Please sign in to comment.