Skip to content

Commit b5974b1

Browse files
authored
Merge pull request #1 from Azure/master
Master
2 parents 0ea27fa + f25657c commit b5974b1

File tree

4,388 files changed

+2496255
-3854502
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,388 files changed

+2496255
-3854502
lines changed

Azure.PowerShell.Netcore.sln

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,16 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Storage.Netcore",
139139
EndProject
140140
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common.KeyVault.Netcore", "src\Common\Commands.Common.KeyVault\Common.KeyVault.Netcore.csproj", "{836965C0-B198-4D01-B3D7-757DB62B49A0}"
141141
EndProject
142-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Common.Websites.Netcore", "src\Common\Commands.Common.Websites\Common.Websites.Netcore.csproj", "{592B3E1B-49E3-4F3C-BF6B-E5D4133B1443}"
142+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common.Websites.Netcore", "src\Common\Commands.Common.Websites\Common.Websites.Netcore.csproj", "{592B3E1B-49E3-4F3C-BF6B-E5D4133B1443}"
143143
EndProject
144144
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.UsageAggregates.Netcore", "src\ResourceManager\UsageAggregates\Commands.UsageAggregates\Commands.UsageAggregates.Netcore.csproj", "{AC30CFA4-0EC7-4303-ABC1-A60DFCA44B74}"
145145
EndProject
146146
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.DeviceProvisioningServices.Netcore", "src\ResourceManager\DeviceProvisioningServices\Commands.DeviceProvisioningServices\Commands.DeviceProvisioningServices.Netcore.csproj", "{804B11B7-D7B5-4E0F-ADFB-4BCD61B23D55}"
147147
EndProject
148148
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.PolicyInsights.Netcore", "src\ResourceManager\PolicyInsights\Commands.PolicyInsights\Commands.PolicyInsights.Netcore.csproj", "{A0574194-976A-486A-B589-07B2E50CA6EF}"
149149
EndProject
150+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Common.Aks.Netcore", "src\Common\Commands.Common.Aks\Commands.Common.Aks.Netcore.csproj", "{B3A55509-A1D4-4884-B86F-179551C65C81}"
151+
EndProject
150152
Global
151153
GlobalSection(SolutionConfigurationPlatforms) = preSolution
152154
Debug|Any CPU = Debug|Any CPU
@@ -1021,6 +1023,18 @@ Global
10211023
{A0574194-976A-486A-B589-07B2E50CA6EF}.Release|x64.Build.0 = Release|Any CPU
10221024
{A0574194-976A-486A-B589-07B2E50CA6EF}.Release|x86.ActiveCfg = Release|Any CPU
10231025
{A0574194-976A-486A-B589-07B2E50CA6EF}.Release|x86.Build.0 = Release|Any CPU
1026+
{B3A55509-A1D4-4884-B86F-179551C65C81}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1027+
{B3A55509-A1D4-4884-B86F-179551C65C81}.Debug|Any CPU.Build.0 = Debug|Any CPU
1028+
{B3A55509-A1D4-4884-B86F-179551C65C81}.Debug|x64.ActiveCfg = Debug|Any CPU
1029+
{B3A55509-A1D4-4884-B86F-179551C65C81}.Debug|x64.Build.0 = Debug|Any CPU
1030+
{B3A55509-A1D4-4884-B86F-179551C65C81}.Debug|x86.ActiveCfg = Debug|Any CPU
1031+
{B3A55509-A1D4-4884-B86F-179551C65C81}.Debug|x86.Build.0 = Debug|Any CPU
1032+
{B3A55509-A1D4-4884-B86F-179551C65C81}.Release|Any CPU.ActiveCfg = Release|Any CPU
1033+
{B3A55509-A1D4-4884-B86F-179551C65C81}.Release|Any CPU.Build.0 = Release|Any CPU
1034+
{B3A55509-A1D4-4884-B86F-179551C65C81}.Release|x64.ActiveCfg = Release|Any CPU
1035+
{B3A55509-A1D4-4884-B86F-179551C65C81}.Release|x64.Build.0 = Release|Any CPU
1036+
{B3A55509-A1D4-4884-B86F-179551C65C81}.Release|x86.ActiveCfg = Release|Any CPU
1037+
{B3A55509-A1D4-4884-B86F-179551C65C81}.Release|x86.Build.0 = Release|Any CPU
10241038
EndGlobalSection
10251039
GlobalSection(SolutionProperties) = preSolution
10261040
HideSolutionNode = FALSE

AzurePowershell.Test.targets

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,32 @@
5656
</Target>
5757

5858
<Target Name="InvokeXUnit">
59-
<Message Importance="high" Text="Running XUnit tests" />
60-
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
59+
<PropertyGroup> <!-- Create the file path for the test dll (src/TestResults/<dll name>.html -->
60+
<TestName>$(XUnitTests.Split('\').Length)</TestName>
61+
<TestNamePathLength>$([MSBuild]::Subtract($(TestName), 1))</TestNamePathLength>
62+
<TestSubFileName>$(XUnitTests.Split('\')[$(TestNamePathLength)])</TestSubFileName>
63+
<TestFileName>$(TestOutputDirectory)\$(TestSubFileName).html</TestFileName>
64+
</PropertyGroup>
65+
<Message Importance="high" Text="Running XUnit tests... $(TestFileName)" />
6166

6267
<xunit
63-
Assemblies="@(XUnitTests)"
68+
Assemblies="$(XUnitTests)"
6469
AppDomains="true"
6570
ShadowCopy="false"
6671
ParallelizeTestCollections="false"
67-
ParallelizeAssemblies="true"
72+
ParallelizeAssemblies="false"
6873
IncludeTraits="AcceptanceType=CheckIn"
69-
Html="$(TestOutputDirectory)\AzurePowershellTestResults.html"
70-
MaxParallelThreads="10"
74+
Html="$(TestFileName)"
7175
DiagnosticMessages="false"
72-
ContinueOnError="false"
73-
Condition=" @(XUnitTests) != '' "/>
76+
ContinueOnError="true"
77+
Condition=" $(XUnitTests) != '' ">
78+
<Output TaskParameter="ExitCode" ItemName="XUnitExitCode"/>
79+
</xunit>
80+
81+
82+
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. Move-Item -Path $(TestOutputDirectory)/$(TestSubFileName).html -Destination $(TestOutputDirectory)/PassingTests/$(TestSubFileName).html &quot;" Condition="%(XUnitExitCode.Identity) == 0"/>
83+
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. Move-Item -Path $(TestOutputDirectory)/$(TestSubFileName).html -Destination $(TestOutputDirectory)/FailingTests/$(TestSubFileName).html &quot;" Condition="%(XUnitExitCode.Identity) != 0"/>
84+
7485
</Target>
7586

7687
<Target Name="InvokeXUnitAll">
@@ -82,10 +93,9 @@
8293
AppDomains="true"
8394
ShadowCopy="false"
8495
ParallelizeTestCollections="false"
85-
ParallelizeAssemblies="true"
96+
ParallelizeAssemblies="false"
8697
ExcludeTraits="RunType=LiveOnly;AcceptanceType=CheckIn"
8798
Html="$(TestOutputDirectory)\AzurePowershellAllTestResults.html"
88-
MaxParallelThreads="10"
8999
DiagnosticMessages="false"
90100
ContinueOnError="false"
91101
Condition=" @(XUnitTests) != '' "/>

0 commit comments

Comments
 (0)