1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<Project ToolsVersion =" 12.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
3
<Import Project =" src\dir.props" />
4
- <Import Project =" $(ToolsDir)Build.Post.targets" Condition =" Exists('$(ToolsDir)Build.Post.targets') AND '$(BuildWrappers)' == 'true'" />
5
- <Import Project =" helixperftasks.targets" Condition =" '$(Performance)'=='true'" />
4
+ <Import Project =" $(ToolsDir)Build.Post.targets" Condition =" Exists('$(ToolsDir)Build.Post.targets') AND '$(BuildWrappers)' == 'true'" />
5
+ <Import Project =" helixperftasks.targets" Condition =" '$(Performance)'=='true'" />
6
6
<PropertyGroup >
7
7
<XunitTestBinBase Condition =" '$(XunitTestBinBase)'==''" >$(BaseOutputPathWithConfig)</XunitTestBinBase >
8
8
<XunitWrapperGeneratedCSDirBase >$(XunitTestBinBase)\TestWrappers\</XunitWrapperGeneratedCSDirBase >
19
19
20
20
<Target Name =" FindCmdDirectories" DependsOnTargets =" GetListOfTestCmds" >
21
21
22
- <Error Condition =" !Exists('$(XunitTestBinBase)')"
22
+ <Error Condition =" !Exists('$(XunitTestBinBase)')"
23
23
Text =" $(XunitTestBinBase) does not exist. Please run buildtest.cmd from the (repo root)\tests at least once to get the tests built." />
24
24
25
25
<ItemGroup >
47
47
48
48
</Target >
49
49
50
- <Import Project =" $(__Exclude)" Condition =" '$(__Exclude)' != '' AND '$(XunitTestBinBase)' != ''" />
50
+ <Import Project =" $(__Exclude)" Condition =" '$(__Exclude)' != '' AND '$(XunitTestBinBase)' != ''" />
51
51
<PropertyGroup >
52
52
<HaveExcludes >False</HaveExcludes >
53
53
<HaveExcludes Condition =" '$(__Exclude)' != ''" >True</HaveExcludes >
58
58
<PropertyGroup >
59
59
<_XunitWrapperGen >
60
60
<![CDATA[
61
-
61
+
62
62
$(_XunitProlog)
63
63
@(AllXUnitFacts)
64
64
$(_XunitEpilog)
@@ -69,7 +69,7 @@ $(_XunitEpilog)
69
69
<![CDATA[
70
70
<?xml version="1.0" encoding="utf-8"?>
71
71
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
72
-
72
+
73
73
<Import Project="$(SourceDir)dir.props" />
74
74
<PropertyGroup>
75
75
<Configuration Condition=" '%24(Configuration)' == '' ">Debug</Configuration>
@@ -109,7 +109,7 @@ $(_XunitEpilog)
109
109
<Name>coreclr</Name>
110
110
</ProjectReference>
111
111
</ItemGroup>
112
-
112
+
113
113
<ItemGroup>
114
114
<Reference Include="System" />
115
115
<Reference Include="System.Runtime" />
@@ -141,7 +141,7 @@ $(_XunitEpilog)
141
141
Lines =" $(XunitWrapperGenCsProj)"
142
142
Overwrite =" true" />
143
143
</Target >
144
-
144
+
145
145
<Target Name =" BuildXunitWrapper" >
146
146
<MSBuild Projects =" $(XunitWrapperSrcDir)\$(XunitWrapper).csproj" />
147
147
</Target >
@@ -327,13 +327,13 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\","").
327
327
<VersionToRestore Condition =" '$(StableVersion)' != ''" >$(StableVersion)</VersionToRestore >
328
328
<VersionToRestore Condition =" '$(VersionToRestore)' == ''" >$(PackageVersion)-$(PreReleaseLabel)-$(BuildNumberMajor)-$(BuildNumberMinor)</VersionToRestore >
329
329
<DesiredPackageVersionArg >$(VersionToRestore)</DesiredPackageVersionArg >
330
- </PropertyGroup >
330
+ </PropertyGroup >
331
331
332
332
<Import Project =" tests.targets" />
333
333
<Import Project =" publishdependency.targets" />
334
334
335
335
<PropertyGroup >
336
- <DesiredPackageVersionArg Condition =" '$(DesiredPackageVersionArg)' == ''" >$(CoreClrPackageVersion )</DesiredPackageVersionArg >
336
+ <DesiredPackageVersionArg Condition =" '$(DesiredPackageVersionArg)' == ''" >$(MicrosoftNETCoreRuntimeCoreCLRPackageVersion )</DesiredPackageVersionArg >
337
337
</PropertyGroup >
338
338
339
339
<Target Name =" CreateTestOverlay" >
@@ -399,19 +399,19 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\","").
399
399
400
400
</Target >
401
401
402
- <Target Name =" RunPerfTests" Condition =" '$(Performance)'=='true'" >
403
- <Message Text =" Executing steps for perf tests" Importance =" High" />
404
-
405
- <!-- generate project.json for runtime dependency -->
406
- <MSBuild Projects =" $(MSBuildProjectFile)"
407
- Targets =" CreateTestRuntimeJsonFile" />
408
-
402
+ <Target Name =" RunPerfTests" Condition =" '$(Performance)'=='true'" >
403
+ <Message Text =" Executing steps for perf tests" Importance =" High" />
404
+
405
+ <!-- generate project.json for runtime dependency -->
406
+ <MSBuild Projects =" $(MSBuildProjectFile)"
407
+ Targets =" CreateTestRuntimeJsonFile" />
408
+
409
409
<!-- generate project.lock.json file corresponding to above json file -->
410
410
<MSBuild Projects =" src\Common\test_dependencies\test_dependencies.csproj" />
411
-
412
- <!-- Package each perf test, upload it and trigger event to execute the tests -->
413
- <MSBuild Projects =" $(MSBuildProjectFile)" Targets =" UploadPerfAssemblies" />
414
- </Target >
411
+
412
+ <!-- Package each perf test, upload it and trigger event to execute the tests -->
413
+ <MSBuild Projects =" $(MSBuildProjectFile)" Targets =" UploadPerfAssemblies" />
414
+ </Target >
415
415
416
416
417
417
<Target Name =" Build" >
@@ -442,6 +442,6 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\","").
442
442
</Target >
443
443
444
444
<Target Name =" Clean" >
445
- <RemoveDir Condition =" '$(BuildWrappers)'=='true'" Directories =" $(XunitWrapperGeneratedCSDirBase);$(XunitWrapperOutputIntermediatedDirBase)" ContinueOnError =" WarnAndContinue" />
445
+ <RemoveDir Condition =" '$(BuildWrappers)'=='true'" Directories =" $(XunitWrapperGeneratedCSDirBase);$(XunitWrapperOutputIntermediatedDirBase)" ContinueOnError =" WarnAndContinue" />
446
446
</Target >
447
447
</Project >
0 commit comments