diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index d75d8401c03..e0c4349b26b 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -128,7 +128,7 @@ extends:
- script: eng\CIBuild.cmd
-configuration $(_BuildConfig)
-prepareMachine
- -testAllButIntegration
+ -testAllButIntegrationAndAot
-officialSkipTests $(SkipTests)
/p:SignType=$(_SignType)
/p:DotNetSignType=$(_SignType)
diff --git a/eng/Build.ps1 b/eng/Build.ps1
index 7a903245204..83c40df4f04 100644
--- a/eng/Build.ps1
+++ b/eng/Build.ps1
@@ -61,6 +61,7 @@ param (
[switch]$testVs,
[switch]$testAll,
[switch]$testAllButIntegration,
+ [switch]$testAllButIntegrationAndAot,
[switch]$testpack,
[switch]$testAOT,
[switch]$testBenchmarks,
@@ -104,6 +105,7 @@ function Print-Usage() {
Write-Host "Test actions"
Write-Host " -testAll Run all tests"
Write-Host " -testAllButIntegration Run all but integration tests"
+ Write-Host " -testAllButIntegrationAndAot Run all but integration and AOT tests"
Write-Host " -testCambridge Run Cambridge tests"
Write-Host " -testCompiler Run FSharpCompiler unit tests"
Write-Host " -testCompilerService Run FSharpCompilerService unit tests"
@@ -170,9 +172,19 @@ function Process-Arguments() {
$script:testAOT = $True
}
+ if($testAllButIntegrationAndAot) {
+ $script:testDesktop = $True
+ $script:testCoreClr = $True
+ $script:testFSharpQA = $True
+ $script:testIntegration = $False
+ $script:testVs = $True
+ $script:testAOT = $False
+ }
+
if ([System.Boolean]::Parse($script:officialSkipTests)) {
$script:testAll = $False
$script:testAllButIntegration = $False
+ $script:testAllButIntegrationAndAot = $False
$script:testCambridge = $False
$script:testCompiler = $False
$script:testCompilerService = $False
diff --git a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj
index 86cf404db69..a33eeaa8d39 100644
--- a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj
+++ b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj
@@ -48,6 +48,9 @@
TargetFrameworks=netstandard2.0
+
+ TargetFrameworks=netstandard2.0
+
diff --git a/tests/AheadOfTime/check.ps1 b/tests/AheadOfTime/check.ps1
index 2edefd41f2b..e8fd72b57e5 100644
--- a/tests/AheadOfTime/check.ps1
+++ b/tests/AheadOfTime/check.ps1
@@ -1,12 +1,4 @@
Write-Host "AheadOfTime: check1.ps1"
-# the NUGET_PACKAGES environment variable tells dotnet nuget where the global package is
-# So save the current setting, we'll reset it after the tests are complete
-# Then clear the global cache so that we can grab the FSharp.Core nuget we built earlier
-$savedNUGET_PACKAGES=$env:NUGET_PACKAGES
-$env:NUGET_PACKAGES=Join-Path $PSScriptRoot "../../artifacts/nuget/AOT/"
-dotnet nuget locals global-packages --clear
-
Equality\check.ps1
Trimming\check.ps1
-$env:NUGET_PACKAGES=$savedNUGET_PACKAGES