summaryrefslogtreecommitdiff
path: root/tests/runtest.proj
diff options
context:
space:
mode:
authorDeepak Shankargouda <deshank@microsoft.com>2016-04-01 20:52:45 -0700
committerDeepak Shankargouda <deshank@microsoft.com>2016-04-01 20:52:45 -0700
commitde540c5ae788fd666d223c40921ea5e05567802d (patch)
tree97690560edef949d31ad623584156ff33ef533c9 /tests/runtest.proj
parentb6eb7de001be523aa07f56965f5c872e3306486c (diff)
downloadcoreclr-de540c5ae788fd666d223c40921ea5e05567802d.tar.gz
coreclr-de540c5ae788fd666d223c40921ea5e05567802d.tar.bz2
coreclr-de540c5ae788fd666d223c40921ea5e05567802d.zip
Enabling Helix perf test runs for CoreCLR
Enabling Helix perf test runs for CoreCLR
Diffstat (limited to 'tests/runtest.proj')
-rw-r--r--tests/runtest.proj17
1 files changed, 16 insertions, 1 deletions
diff --git a/tests/runtest.proj b/tests/runtest.proj
index 18937f962c..991a0079ba 100644
--- a/tests/runtest.proj
+++ b/tests/runtest.proj
@@ -2,7 +2,7 @@
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="src\dir.props" />
<Import Project="$(ToolsDir)Build.Post.targets" Condition="Exists('$(ToolsDir)Build.Post.targets') AND '$(BuildWrappers)' == 'true'" />
-
+ <Import Project="helixperftasks.targets" Condition="'$(Performance)'=='true'"/>
<PropertyGroup>
<XunitTestBinBase Condition="'$(XunitTestBinBase)'==''" >$(BaseOutputPathWithConfig)</XunitTestBinBase>
<XunitWrapperGeneratedCSDirBase>$(SourceDir)\TestWrappers_$(Platform)_$(Configuration)\</XunitWrapperGeneratedCSDirBase>
@@ -412,6 +412,21 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\","").
</Target>
+ <Target Name="RunPerfTests" Condition="'$(Performance)'=='true'">
+ <Message Text="Executing steps for perf tests" Importance="High"/>
+
+ <!-- generate project.json for runtime dependency -->
+ <MSBuild Projects="$(MSBuildProjectFile)"
+ Targets="CreateTestRuntimeJsonFile"/>
+
+ <!-- generate project.lock.json file corresponding to above json file -->
+ <MSBuild Projects="src\Common\test_runtime\test_runtime.csproj"/>
+
+ <!-- Package each perf test, upload it and trigger event to execute the tests -->
+ <MSBuild Projects="$(MSBuildProjectFile)" Targets="UploadPerfAssemblies" />
+ </Target>
+
+
<Target Name="Build">
<!-- generate project.json for runtime dependency -->