Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 599e00c

Browse files
authored
Merge pull request #11055 from jorive/dev/xUnit-Performance-API
Improving robustness of the run-xunit-perf.cmd script.
2 parents b5e4d03 + 63325a3 commit 599e00c

File tree

8 files changed

+347
-211
lines changed

8 files changed

+347
-211
lines changed

tests/scripts/run-xunit-perf.cmd

Lines changed: 324 additions & 185 deletions
Large diffs are not rendered by default.

tests/src/Common/PerfHarness/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"type": "platform",
1313
"version": "1.1.0"
1414
},
15-
"xunit.performance.api": "1.0.0-beta-build0002"
15+
"xunit.performance.api": "1.0.0-beta-build0003"
1616
}
1717
}
1818
}

tests/src/Common/external/external.depproj

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
<PackageToInclude Include="xunit.extensibility.core"/>
2525
<PackageToInclude Include="xunit.extensibility.execution"/>
2626
<PackageToInclude Include="xunit.runner.utility"/>
27-
<PackageToInclude Include="Microsoft.DotNet.xunit.performance"/>
28-
<PackageToInclude Include="Microsoft.DotNet.xunit.performance.analysis"/>
29-
<PackageToInclude Include="Microsoft.DotNet.xunit.performance.runner.Windows"/>
3027
<PackageToInclude Include="xunit.performance.api"/>
3128
<PackageToInclude Include="xunit.performance.core"/>
3229
<PackageToInclude Include="xunit.performance.execution"/>
@@ -37,7 +34,7 @@
3734
<PackageToInclude Include="Microsoft.CodeAnalysis.Common"/>
3835
<PackageToInclude Include="Microsoft.CodeAnalysis.Compilers"/>
3936
<PackageToInclude Include="Microsoft.CodeAnalysis.CSharp"/>
40-
<PackageToInclude Include="Microsoft.CodeAnalysis.VisualBasic"/>
37+
<PackageToInclude Include="Microsoft.CodeAnalysis.VisualBasic"/>
4138
<PackageToInclude Include="$(XUnitRunnerPackageId)" />
4239
</ItemGroup>
4340

@@ -48,7 +45,7 @@
4845
Text="Error: looks the package $(PackagesDir)$(XUnitRunnerPackageId)\$(XUnitPackageVersion) not restored or missing xunit.console.exe."
4946
/>
5047
<ItemGroup>
51-
<ReferenceCopyLocalPaths
48+
<ReferenceCopyLocalPaths
5249
Include="$(PackagesDir)$(XUnitRunnerPackageId)\$(XUnitPackageVersion)\tools\*.*"
5350
Exclude="$(PackagesDir)$(XUnitRunnerPackageId)\$(XUnitPackageVersion)\tools\xunit.console.exe.config"
5451
>

tests/src/Common/external/project.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"dependencies": {
33
"Microsoft.CodeAnalysis.Compilers": "1.1.1",
4-
"xunit.performance.api": "1.0.0-beta-build0002",
5-
"xunit.performance.core": "1.0.0-beta-build0002",
6-
"xunit.performance.execution": "1.0.0-beta-build0002",
7-
"xunit.performance.metrics": "1.0.0-beta-build0002",
4+
"xunit.performance.api": "1.0.0-beta-build0003",
5+
"xunit.performance.core": "1.0.0-beta-build0003",
6+
"xunit.performance.execution": "1.0.0-beta-build0003",
7+
"xunit.performance.metrics": "1.0.0-beta-build0003",
88
"Microsoft.Diagnostics.Tracing.TraceEvent": "1.0.3-alpha-experimental",
99
"Newtonsoft.Json": "9.0.1",
1010
"xunit": "2.2.0-beta2-build3300",

tests/src/JIT/config/benchmark+roslyn/project.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"dependencies": {
33
"Microsoft.CodeAnalysis.Compilers": "1.1.1",
4-
"xunit.performance.api": "1.0.0-beta-build0002",
5-
"xunit.performance.core": "1.0.0-beta-build0002",
6-
"xunit.performance.execution": "1.0.0-beta-build0002",
7-
"xunit.performance.metrics": "1.0.0-beta-build0002",
4+
"xunit.performance.api": "1.0.0-beta-build0003",
5+
"xunit.performance.core": "1.0.0-beta-build0003",
6+
"xunit.performance.execution": "1.0.0-beta-build0003",
7+
"xunit.performance.metrics": "1.0.0-beta-build0003",
88
"Microsoft.Diagnostics.Tracing.TraceEvent": "1.0.3-alpha-experimental",
99
"Microsoft.NETCore.Platforms": "2.0.0-preview1-25221-01",
1010
"System.Console": "4.4.0-beta-24913-02",

tests/src/JIT/config/benchmark+serialize/project.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"dependencies": {
3-
"xunit.performance.api": "1.0.0-beta-build0002",
4-
"xunit.performance.core": "1.0.0-beta-build0002",
5-
"xunit.performance.execution": "1.0.0-beta-build0002",
6-
"xunit.performance.metrics": "1.0.0-beta-build0002",
3+
"xunit.performance.api": "1.0.0-beta-build0003",
4+
"xunit.performance.core": "1.0.0-beta-build0003",
5+
"xunit.performance.execution": "1.0.0-beta-build0003",
6+
"xunit.performance.metrics": "1.0.0-beta-build0003",
77
"Microsoft.Diagnostics.Tracing.TraceEvent": "1.0.3-alpha-experimental",
88
"Microsoft.NETCore.Platforms": "2.0.0-preview1-25221-01",
99
"Newtonsoft.Json": "7.0.1",

tests/src/JIT/config/benchmark/project.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"dependencies": {
3-
"xunit.performance.api": "1.0.0-beta-build0002",
4-
"xunit.performance.core": "1.0.0-beta-build0002",
5-
"xunit.performance.execution": "1.0.0-beta-build0002",
6-
"xunit.performance.metrics": "1.0.0-beta-build0002",
3+
"xunit.performance.api": "1.0.0-beta-build0003",
4+
"xunit.performance.core": "1.0.0-beta-build0003",
5+
"xunit.performance.execution": "1.0.0-beta-build0003",
6+
"xunit.performance.metrics": "1.0.0-beta-build0003",
77
"Microsoft.Diagnostics.Tracing.TraceEvent": "1.0.3-alpha-experimental",
88
"Microsoft.NETCore.Platforms": "2.0.0-preview1-25221-01",
99
"System.Collections.NonGeneric": "4.4.0-beta-24913-02",

tests/src/performance/project.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"dependencies": {
3-
"xunit.performance.api": "1.0.0-beta-build0002",
4-
"xunit.performance.core": "1.0.0-beta-build0002",
5-
"xunit.performance.execution": "1.0.0-beta-build0002",
6-
"xunit.performance.metrics": "1.0.0-beta-build0002",
3+
"xunit.performance.api": "1.0.0-beta-build0003",
4+
"xunit.performance.core": "1.0.0-beta-build0003",
5+
"xunit.performance.execution": "1.0.0-beta-build0003",
6+
"xunit.performance.metrics": "1.0.0-beta-build0003",
77
"Microsoft.Diagnostics.Tracing.TraceEvent": "1.0.3-alpha-experimental",
88
"Microsoft.NETCore.Platforms": "2.0.0-preview1-25221-01",
99
"System.Collections.NonGeneric": "4.4.0-beta-24913-02",

0 commit comments

Comments
 (0)