Skip to content

Commit 8ed39cd

Browse files
committed
Merge branch 'master' into dev/migrie/b/2455-with-new-tests
# Conflicts: # src/cascadia/LocalTests_TerminalApp/SettingsTests.cpp # src/cascadia/TerminalApp/TerminalPage.cpp
2 parents 963a830 + c0d704e commit 8ed39cd

File tree

646 files changed

+15680
-6164
lines changed

Some content is hidden

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

646 files changed

+15680
-6164
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ PublishScripts/
162162
!**/packages/build/
163163
# Uncomment if necessary however generally it will be regenerated when needed
164164
#!**/packages/repositories.config
165-
# NuGet v3's project.json files produces more ignoreable files
165+
# NuGet v3's project.json files produces more ignorable files
166166
*.nuget.props
167167
*.nuget.targets
168168

CODE_OF_CONDUCT.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# Code of Conduct
1+
# Microsoft Open Source Code of Conduct
22

3-
This project has adopted the [Microsoft Open Source Code of Conduct][conduct-code].
4-
For more information see the [Code of Conduct FAQ][conduct-FAQ] or contact [opencode@microsoft.com][conduct-email] with any additional questions or comments.
3+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
54

6-
[conduct-code]: https://opensource.microsoft.com/codeofconduct/
7-
[conduct-FAQ]: https://opensource.microsoft.com/codeofconduct/faq/
8-
[conduct-email]: mailto:opencode@microsoft.com
5+
Resources:
6+
7+
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8+
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9+
- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns

contributing.md renamed to CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Therefore, if you do file issues, or create PRs, please keep an eye on your GitH
2323
---
2424
## Reporting Security Issues
2525

26-
**Please do not report security vulnerabilities through public GitHub issues.** Instead, please report them to the Microsoft Security Response Center (MSRC). See [Security.md](../SECURITY.md) for more information.
26+
**Please do not report security vulnerabilities through public GitHub issues.** Instead, please report them to the Microsoft Security Response Center (MSRC). See [SECURITY.md](./SECURITY.md) for more information.
2727

2828
## Before you start, file an issue
2929

OpenConsole.sln

Lines changed: 105 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,6 @@ EndProject
9898
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Propsheet.DLL", "src\propsheet\propsheet.vcxproj", "{5D23E8E1-3C64-4CC1-A8F7-6861677F7239}"
9999
EndProject
100100
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_Build Common", "_Build Common", "{04170EEF-983A-4195-BFEF-2321E5E38A1E}"
101-
ProjectSection(SolutionItems) = preProject
102-
src\common.build.post.props = src\common.build.post.props
103-
src\common.build.pre.props = src\common.build.pre.props
104-
src\common.build.tests.props = src\common.build.tests.props
105-
common.openconsole.props = common.openconsole.props
106-
src\cppwinrt.build.post.props = src\cppwinrt.build.post.props
107-
src\cppwinrt.build.pre.props = src\cppwinrt.build.pre.props
108-
src\wap-common.build.post.props = src\wap-common.build.post.props
109-
src\wap-common.build.pre.props = src\wap-common.build.pre.props
110-
EndProjectSection
111101
EndProject
112102
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Server", "src\server\lib\server.vcxproj", "{18D09A24-8240-42D6-8CB6-236EEE820262}"
113103
EndProject
@@ -271,6 +261,45 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "til.unit.tests", "src\til\u
271261
EndProject
272262
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "U8U16Test", "src\tools\U8U16Test\U8U16Test.vcxproj", "{A602A555-BAAC-46E1-A91D-3DAB0475C5A1}"
273263
EndProject
264+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Common Props", "Common Props", "{53DD5520-E64C-4C06-B472-7CE62CA539C9}"
265+
ProjectSection(SolutionItems) = preProject
266+
src\common.build.post.props = src\common.build.post.props
267+
src\common.build.pre.props = src\common.build.pre.props
268+
src\common.build.tests.props = src\common.build.tests.props
269+
common.openconsole.props = common.openconsole.props
270+
src\cppwinrt.build.post.props = src\cppwinrt.build.post.props
271+
src\cppwinrt.build.pre.props = src\cppwinrt.build.pre.props
272+
src\wap-common.build.post.props = src\wap-common.build.post.props
273+
src\wap-common.build.pre.props = src\wap-common.build.pre.props
274+
EndProjectSection
275+
EndProject
276+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "YAML", "YAML", "{6B5A44ED-918D-4747-BFB1-2472A1FCA173}"
277+
ProjectSection(SolutionItems) = preProject
278+
build\pipelines\templates\build-console-audit-job.yml = build\pipelines\templates\build-console-audit-job.yml
279+
build\pipelines\templates\build-console-ci.yml = build\pipelines\templates\build-console-ci.yml
280+
build\pipelines\templates\build-console-int.yml = build\pipelines\templates\build-console-int.yml
281+
build\pipelines\templates\build-console-steps.yml = build\pipelines\templates\build-console-steps.yml
282+
build\pipelines\templates\check-formatting.yml = build\pipelines\templates\check-formatting.yml
283+
build\pipelines\ci.yml = build\pipelines\ci.yml
284+
build\pipelines\templates\release-sign-and-bundle.yml = build\pipelines\templates\release-sign-and-bundle.yml
285+
build\pipelines\release.yml = build\pipelines\release.yml
286+
EndProjectSection
287+
EndProject
288+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{D3EF7B96-CD5E-47C9-B9A9-136259563033}"
289+
ProjectSection(SolutionItems) = preProject
290+
build\scripts\Create-AppxBundle.ps1 = build\scripts\Create-AppxBundle.ps1
291+
build\scripts\Index-Pdbs.ps1 = build\scripts\Index-Pdbs.ps1
292+
build\scripts\Invoke-FormattingCheck.ps1 = build\scripts\Invoke-FormattingCheck.ps1
293+
build\scripts\Run-Tests.ps1 = build\scripts\Run-Tests.ps1
294+
build\scripts\Test-WindowsTerminalPackage.ps1 = build\scripts\Test-WindowsTerminalPackage.ps1
295+
EndProjectSection
296+
EndProject
297+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Dx.Unit.Tests", "src\renderer\dx\ut_dx\Dx.Unit.Tests.vcxproj", "{95B136F9-B238-490C-A7C5-5843C1FECAC4}"
298+
EndProject
299+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "winconpty.Tests.Feature", "src\winconpty\ft_pty\winconpty.FeatureTests.vcxproj", "{024052DE-83FB-4653-AEA4-90790D29D5BD}"
300+
EndProject
301+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TerminalAzBridge", "src\cascadia\TerminalAzBridge\TerminalAzBridge.vcxproj", "{067F0A06-FCB7-472C-96E9-B03B54E8E18D}"
302+
EndProject
274303
Global
275304
GlobalSection(SolutionConfigurationPlatforms) = preSolution
276305
AuditMode|Any CPU = AuditMode|Any CPU
@@ -1396,6 +1425,66 @@ Global
13961425
{A602A555-BAAC-46E1-A91D-3DAB0475C5A1}.Release|x64.Build.0 = Release|x64
13971426
{A602A555-BAAC-46E1-A91D-3DAB0475C5A1}.Release|x86.ActiveCfg = Release|Win32
13981427
{A602A555-BAAC-46E1-A91D-3DAB0475C5A1}.Release|x86.Build.0 = Release|Win32
1428+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.AuditMode|Any CPU.ActiveCfg = AuditMode|Win32
1429+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.AuditMode|ARM64.ActiveCfg = AuditMode|ARM64
1430+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.AuditMode|ARM64.Build.0 = AuditMode|ARM64
1431+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.AuditMode|x64.ActiveCfg = Release|x64
1432+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.AuditMode|x86.ActiveCfg = AuditMode|Win32
1433+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.AuditMode|x86.Build.0 = AuditMode|Win32
1434+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.Debug|Any CPU.ActiveCfg = Debug|Win32
1435+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.Debug|ARM64.ActiveCfg = Debug|ARM64
1436+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.Debug|ARM64.Build.0 = Debug|ARM64
1437+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.Debug|x64.ActiveCfg = Debug|x64
1438+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.Debug|x64.Build.0 = Debug|x64
1439+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.Debug|x86.ActiveCfg = Debug|Win32
1440+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.Debug|x86.Build.0 = Debug|Win32
1441+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.Release|Any CPU.ActiveCfg = Release|Win32
1442+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.Release|ARM64.ActiveCfg = Release|ARM64
1443+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.Release|ARM64.Build.0 = Release|ARM64
1444+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.Release|x64.ActiveCfg = Release|x64
1445+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.Release|x64.Build.0 = Release|x64
1446+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.Release|x86.ActiveCfg = Release|Win32
1447+
{95B136F9-B238-490C-A7C5-5843C1FECAC4}.Release|x86.Build.0 = Release|Win32
1448+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.AuditMode|Any CPU.ActiveCfg = AuditMode|Win32
1449+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.AuditMode|ARM64.ActiveCfg = AuditMode|ARM64
1450+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.AuditMode|ARM64.Build.0 = AuditMode|ARM64
1451+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.AuditMode|x64.ActiveCfg = Release|x64
1452+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.AuditMode|x86.ActiveCfg = AuditMode|Win32
1453+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.AuditMode|x86.Build.0 = AuditMode|Win32
1454+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.Debug|Any CPU.ActiveCfg = Debug|Win32
1455+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.Debug|ARM64.ActiveCfg = Debug|ARM64
1456+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.Debug|ARM64.Build.0 = Debug|ARM64
1457+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.Debug|x64.ActiveCfg = Debug|x64
1458+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.Debug|x64.Build.0 = Debug|x64
1459+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.Debug|x86.ActiveCfg = Debug|Win32
1460+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.Debug|x86.Build.0 = Debug|Win32
1461+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.Release|Any CPU.ActiveCfg = Release|Win32
1462+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.Release|ARM64.ActiveCfg = Release|ARM64
1463+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.Release|ARM64.Build.0 = Release|ARM64
1464+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.Release|x64.ActiveCfg = Release|x64
1465+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.Release|x64.Build.0 = Release|x64
1466+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.Release|x86.ActiveCfg = Release|Win32
1467+
{024052DE-83FB-4653-AEA4-90790D29D5BD}.Release|x86.Build.0 = Release|Win32
1468+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.AuditMode|Any CPU.ActiveCfg = AuditMode|Win32
1469+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.AuditMode|ARM64.ActiveCfg = AuditMode|ARM64
1470+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.AuditMode|ARM64.Build.0 = AuditMode|ARM64
1471+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.AuditMode|x64.ActiveCfg = Release|x64
1472+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.AuditMode|x86.ActiveCfg = AuditMode|Win32
1473+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.AuditMode|x86.Build.0 = AuditMode|Win32
1474+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.Debug|Any CPU.ActiveCfg = Debug|Win32
1475+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.Debug|ARM64.ActiveCfg = Debug|ARM64
1476+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.Debug|ARM64.Build.0 = Debug|ARM64
1477+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.Debug|x64.ActiveCfg = Debug|x64
1478+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.Debug|x64.Build.0 = Debug|x64
1479+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.Debug|x86.ActiveCfg = Debug|Win32
1480+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.Debug|x86.Build.0 = Debug|Win32
1481+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.Release|Any CPU.ActiveCfg = Release|Win32
1482+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.Release|ARM64.ActiveCfg = Release|ARM64
1483+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.Release|ARM64.Build.0 = Release|ARM64
1484+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.Release|x64.ActiveCfg = Release|x64
1485+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.Release|x64.Build.0 = Release|x64
1486+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.Release|x86.ActiveCfg = Release|Win32
1487+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D}.Release|x86.Build.0 = Release|Win32
13991488
EndGlobalSection
14001489
GlobalSection(SolutionProperties) = preSolution
14011490
HideSolutionNode = FALSE
@@ -1467,6 +1556,12 @@ Global
14671556
{BDB237B6-1D1D-400F-84CC-40A58FA59C8E} = {59840756-302F-44DF-AA47-441A9D673202}
14681557
{767268EE-174A-46FE-96F0-EEE698A1BBC9} = {89CDCC5C-9F53-4054-97A4-639D99F169CD}
14691558
{A602A555-BAAC-46E1-A91D-3DAB0475C5A1} = {A10C4720-DCA4-4640-9749-67F4314F527C}
1559+
{53DD5520-E64C-4C06-B472-7CE62CA539C9} = {04170EEF-983A-4195-BFEF-2321E5E38A1E}
1560+
{6B5A44ED-918D-4747-BFB1-2472A1FCA173} = {04170EEF-983A-4195-BFEF-2321E5E38A1E}
1561+
{D3EF7B96-CD5E-47C9-B9A9-136259563033} = {04170EEF-983A-4195-BFEF-2321E5E38A1E}
1562+
{95B136F9-B238-490C-A7C5-5843C1FECAC4} = {05500DEF-2294-41E3-AF9A-24E580B82836}
1563+
{024052DE-83FB-4653-AEA4-90790D29D5BD} = {E8F24881-5E37-4362-B191-A3BA0ED7F4EB}
1564+
{067F0A06-FCB7-472C-96E9-B03B54E8E18D} = {59840756-302F-44DF-AA47-441A9D673202}
14701565
EndGlobalSection
14711566
GlobalSection(ExtensibilityGlobals) = postSolution
14721567
SolutionGuid = {3140B1B7-C8EE-43D1-A772-D82A7061A271}

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,15 @@ Related repositories include:
1717

1818
> 👉 Note: Windows Terminal requires Windows 10 1903 (build 18362) or later
1919
20-
### Manually installing builds from this repository
20+
### Microsoft Store [Recommended]
21+
22+
Install the [Windows Terminal from the Microsoft Store][store-install-link]. This allows you to always be on the latest version when we release new builds with automatic upgrades.
23+
24+
This is our preferred method.
25+
26+
### Other install methods
27+
28+
#### Via GitHub
2129

2230
For users who are unable to install Terminal from the Microsoft Store, Terminal builds can be manually downloaded from this repository's [Releases page](https://github.com/microsoft/terminal/releases).
2331

@@ -26,7 +34,7 @@ For users who are unable to install Terminal from the Microsoft Store, Terminal
2634
> * Be sure to install the [Desktop Bridge VC++ v14 Redistributable Package](https://www.microsoft.com/en-us/download/details.aspx?id=53175) otherwise Terminal may not install and/or run and may crash at startup
2735
> * Terminal will not auto-update when new builds are released so you will need to regularly install the latest Terminal release to receive all the latest fixes and improvements!
2836
29-
### Install via Chocolatey (unofficial)
37+
#### Via Chocolatey (unofficial)
3038

3139
[Chocolatey](https://chocolatey.org) users can download and install the latest Terminal release by installing the `microsoft-windows-terminal` package:
3240

@@ -131,7 +139,7 @@ All project documentation is located in the `./doc` folder. If you would like to
131139

132140
We are excited to work alongside you, our amazing community, to build and enhance Windows Terminal\!
133141

134-
***BEFORE you start work on a feature/fix***, please read & follow our [Contributor's Guide](https://github.com/microsoft/terminal/blob/master/contributing.md) to help avoid any wasted or duplicate effort.
142+
***BEFORE you start work on a feature/fix***, please read & follow our [Contributor's Guide](https://github.com/microsoft/terminal/blob/master/CONTRIBUTING.md) to help avoid any wasted or duplicate effort.
135143

136144
## Communicating with the Team
137145

@@ -219,3 +227,4 @@ For more information see the [Code of Conduct FAQ][conduct-FAQ] or contact [open
219227
[conduct-code]: https://opensource.microsoft.com/codeofconduct/
220228
[conduct-FAQ]: https://opensource.microsoft.com/codeofconduct/faq/
221229
[conduct-email]: mailto:opencode@microsoft.com
230+
[store-install-link]: https://aka.ms/windowsterminal

build/.nuget/packages.config

Lines changed: 0 additions & 4 deletions
This file was deleted.

build/config/NuGet.config

Lines changed: 0 additions & 9 deletions
This file was deleted.

build/pipelines/templates/build-console-audit-job.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,6 @@ jobs:
3131
restoreSolution: OpenConsole.sln
3232
restoreDirectory: '$(Build.SourcesDirectory)\packages'
3333

34-
- task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2
35-
displayName: 'NuGet restore packages for CI'
36-
inputs:
37-
command: restore
38-
restoreSolution: build/.nuget/packages.config
39-
feedsToUse: config
40-
externalFeedCredentials: 'TAEF NuGet Feed'
41-
nugetConfigPath: build/config/NuGet.config
42-
restoreDirectory: '$(Build.SourcesDirectory)/packages'
43-
4434
- task: VSBuild@1
4535
displayName: 'Build solution **\OpenConsole.sln'
4636
inputs:

build/pipelines/templates/build-console-steps.yml

Lines changed: 17 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,6 @@ steps:
2525
restoreSolution: OpenConsole.sln
2626
restoreDirectory: '$(Build.SourcesDirectory)\packages'
2727

28-
- task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2
29-
displayName: 'NuGet restore packages for CI'
30-
inputs:
31-
command: restore
32-
restoreSolution: build/.nuget/packages.config
33-
feedsToUse: config
34-
externalFeedCredentials: 'TAEF NuGet Feed'
35-
nugetConfigPath: build/config/NuGet.config
36-
restoreDirectory: '$(Build.SourcesDirectory)/packages'
37-
3828
- task: VSBuild@1
3929
displayName: 'Build solution **\OpenConsole.sln'
4030
inputs:
@@ -62,32 +52,29 @@ steps:
6252
arguments: -SearchDir '$(Build.SourcesDirectory)' -SourceRoot '$(Build.SourcesDirectory)' -recursive -Verbose -CommitId $(Build.SourceVersion)
6353
errorActionPreference: silentlyContinue
6454

65-
- task: VSTest@2
55+
- task: PowerShell@2
56+
displayName: 'Rationalize build platform'
57+
inputs:
58+
targetType: inline
59+
script: |
60+
$Arch = "$(BuildPlatform)"
61+
If ($Arch -Eq "x86") { $Arch = "Win32" }
62+
Write-Host "##vso[task.setvariable variable=RationalizedBuildPlatform]${Arch}"
63+
64+
- task: PowerShell@2
6665
displayName: 'Run Unit Tests'
6766
inputs:
68-
testAssemblyVer2: |
69-
$(BUILD.SOURCESDIRECTORY)\**\*unit.test*.dll
70-
!**\obj\**
71-
runSettingsFile: '$(BUILD.SOURCESDIRECTORY)\src\unit.tests.$(BuildPlatform).runsettings'
72-
codeCoverageEnabled: true
73-
runInParallel: False
74-
testRunTitle: 'Console Unit Tests'
75-
platform: '$(BuildPlatform)'
76-
configuration: '$(BuildConfiguration)'
67+
targetType: filePath
68+
filePath: build\scripts\Run-Tests.ps1
69+
arguments: -MatchPattern '*unit.test*.dll' -Platform '$(RationalizedBuildPlatform)' -Configuration '$(BuildConfiguration)'
7770
condition: and(succeeded(), or(eq(variables['BuildPlatform'], 'x64'), eq(variables['BuildPlatform'], 'x86')))
7871

79-
- task: VSTest@2
72+
- task: PowerShell@2
8073
displayName: 'Run Feature Tests (x64 only)'
8174
inputs:
82-
testAssemblyVer2: |
83-
$(BUILD.SOURCESDIRECTORY)\**\*feature.test*.dll
84-
!**\obj\**
85-
runSettingsFile: '$(BUILD.SOURCESDIRECTORY)\src\unit.tests.$(BuildPlatform).runsettings'
86-
codeCoverageEnabled: true
87-
runInParallel: False
88-
testRunTitle: 'Console Feature Tests'
89-
platform: '$(BuildPlatform)'
90-
configuration: '$(BuildConfiguration)'
75+
targetType: filePath
76+
filePath: build\scripts\Run-Tests.ps1
77+
arguments: -MatchPattern '*feature.test*.dll' -Platform '$(RationalizedBuildPlatform)' -Configuration '$(BuildConfiguration)'
9178
condition: and(succeeded(), eq(variables['BuildPlatform'], 'x64'))
9279

9380
- task: CopyFiles@2

build/pipelines/templates/check-formatting.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66

77
steps:
88
- checkout: self
9+
fetchDepth: 1
910
submodules: false
1011
clean: true
1112

0 commit comments

Comments
 (0)