File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 3
3
<Import Project =" Sdk.props" Sdk =" Microsoft.DotNet.Arcade.Sdk" />
4
4
<Import Project =" eng\targets\Settings.props" />
5
5
6
+ <PropertyGroup >
7
+ <BUILD_IN_FSHARP_REPOSITORY >true</BUILD_IN_FSHARP_REPOSITORY >
8
+ </PropertyGroup >
9
+
6
10
<!-- directory locations -->
7
11
<PropertyGroup >
8
12
<FSharpSourcesRoot >$(RepoRoot)src</FSharpSourcesRoot >
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ param (
46
46
[switch ][Alias (' test' )]$testDesktop ,
47
47
[switch ]$testCoreClr ,
48
48
[switch ]$testFSharpQA ,
49
+ [switch ]$testFSharpCore ,
49
50
[switch ]$testVs ,
50
51
[switch ]$testAll ,
51
52
@@ -76,6 +77,7 @@ function Print-Usage() {
76
77
Write-Host " -testDesktop Run tests against full .NET Framework"
77
78
Write-Host " -testCoreClr Run tests against CoreCLR"
78
79
Write-Host " -testFSharpQA Run F# Cambridge tests"
80
+ Write-Host " -testFSharpCore Run FSharpCore unit tests"
79
81
Write-Host " -testVs Run F# editor unit tests"
80
82
Write-Host " "
81
83
Write-Host " Advanced settings:"
@@ -271,6 +273,14 @@ try {
271
273
Pop-Location
272
274
}
273
275
276
+ if ($testFSharpCore ) {
277
+ Write-Host " Environment Variables"
278
+ Get-Childitem Env:
279
+ TestUsingNUnit - testProject " $RepoRoot \tests\FSharp.Core.UnitTests\FSharp.Core.UnitTests.fsproj" - targetFramework $desktopTargetFramework
280
+ TestUsingNUnit - testProject " $RepoRoot \tests\FSharp.Core.UnitTests\FSharp.Core.UnitTests.fsproj" - targetFramework $coreclrTargetFramework
281
+ }
282
+
283
+
274
284
if ($testVs ) {
275
285
Write-Host " Environment Variables"
276
286
Get-Childitem Env:
You can’t perform that action at this time.
0 commit comments